CVE-2016-5388

NameCVE-2016-5388
DescriptionApache 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1883-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat6 (PTS)jessie (security), jessie6.0.45+dfsg-1~deb8u1fixed
tomcat7 (PTS)jessie7.0.56-3+deb8u11vulnerable
jessie (security)7.0.56-3+really7.0.94-1fixed
stretch7.0.75-1fixed
tomcat8 (PTS)jessie8.0.14-1+deb8u11vulnerable
jessie (security)8.0.14-1+deb8u15fixed
stretch (security), stretch8.5.14-1+deb9u3fixed
tomcat9 (PTS)buster9.0.16-4fixed
bullseye9.0.22-1fixed
sid9.0.24-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tomcat6source(unstable)6.0.41-3medium
tomcat7source(unstable)7.0.72-1medium
tomcat7sourcejessie7.0.56-3+really7.0.88-1medium
tomcat8source(unstable)8.0.37-1medium
tomcat8sourcejessie8.0.14-1+deb8u15mediumDLA-1883-1
tomcat9source(unstable)(not affected)

Notes

- tomcat9 <not-affected> (Fixed before initial upload to Debian)
Since 6.0.41-3, src:tomcat6 only builds a servlet and docs
The Tomcat CGI servlet sets HTTP_PROXY based on a Proxy: header.
This CVE was special since not assigned to a vulnerability but for a mitigation
thus marking as fixed for 8.0.37 and 7.0.71 (upstream) and with according
versions in Debian.
https://svn.apache.org/r1756941 (8.0.x)
https://svn.apache.org/r1756942 (7.0.x)

Search for package or bug name: Reporting problems