Description
Apache Tomcat 7.x through 7.0.70 and 8.x through 8.5.4, when the CGI Servlet is enabled, follows RFC 3875 section 4.1.18 and therefore does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue. NOTE: the vendor states "A mitigation is planned for future releases of Tomcat, tracked as CVE-2016-5388"; in other words, this is not a CVE ID for a vulnerability.
In plain language
AI Worth attentionApache Tomcat 7.x through 7.0.70 and 8.x through 8.5.4 need attention only if you have enabled its CGI feature, because a visitor can redirect the server’s outgoing web requests.
Unauthenticated HTTPoxy-style proxy injection in Apache Tomcat’s enabled CGI Servlet allows a crafted Proxy header to set HTTP_PROXY and redirect outbound HTTP connections.
What to do now
- Check whether Apache Tomcat is running and whether its CGI Servlet has been explicitly enabled.
- If CGI is enabled, upgrade Apache Tomcat 7 to 7.0.72 or later, or Apache Tomcat 8 to 8.5.5 or later.
- If an upgrade must wait, disable the CGI Servlet unless your application specifically requires it.
- Review outbound web-request settings and credentials used by affected applications after the change.
CVSS Vector Breakdown
AV:NAttack VectorAC:HAttack ComplexityPR:NPrivileges RequiredUI:NUser InteractionS:UScopeC:HConfidentialityI:HIntegrityA:HAvailabilityWeaknesses
Affected Products
Exploitability
References
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2016-5388 and every CVE in our database. Create a free account — no credit card required.
Create Free Account