CVE-2016-5388
Tomcat: CGI sets environmental variable based on user supplied Proxy request header
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-284
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.apache.tomcat:tomcat-catalina | >=7.0.0, <7.0.72>=8.0.0, <8.5.5 | 7.0.728.5.5 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | tomcat +9 | 7.0.54-8.el7_2 |
Red Hat 1 release · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | httpd24 +5 | 0:2.4.6-62.ep7.el7 | RHSA-2016:1635 |
| 7 | tomcat +9 | 0:7.0.54-8.el7_2 | RHSA-2016:2046 |
| 7 | tomcat7 +9 | 0:7.0.59-51_patch_01.ep7.el7 | RHSA-2016:1635 |
| 7 | tomcat8 +9 | 0:8.0.18-62_patch_01.ep7.el7 | RHSA-2016:1635 |
| 7 | mod-proxy24-html +1 | 1:2.4.6-62.ep7.el7 | RHSA-2016:1635 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-09/msg00025.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1624.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-2045.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-2046.html
- www.kb.cert.org http://www.kb.cert.org/vuls/id/797896
- www.oracle.com http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- www.securityfocus.com http://www.securityfocus.com/bid/91818
- www.securitytracker.com http://www.securitytracker.com/id/1036331
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:1624
Show all 51 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:1635
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:1636
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:2045
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:2046
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-5388
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1353809
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/1b91e91194a095ea922f96d1dccddf6fbc446e54
- github.com https://github.com/apache/tomcat/commit/880250877b0643956435282afb9c111450cfff4c
- github.com https://github.com/apache/tomcat/commit/fb3569fbb9a2f55459aa8e1e22bc35a737e66329
- h20566.www2.hpe.com https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us
- h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149
- h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324759
- h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- httpoxy.org https://httpoxy.org/
- linux.oracle.com https://linux.oracle.com/cve/CVE-2016-5388.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2016-2046.html
- lists.apache.org https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272%40%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/6b414817c2b0bf351138911c8c922ec5dd577ebc0b9a7f42d705752d%40%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/6b414817c2b0bf351138911c8c922ec5dd577ebc0b9a7f42d705752d@%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1%40%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1@%3Cissues.activemq.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r2853582063cfd9e7fbae1e029ae004e6a83482ae9b70a698996353dd%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r2853582063cfd9e7fbae1e029ae004e6a83482ae9b70a698996353dd@%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc6b2147532416cc736e68a32678d3947b7053c3085cf43a9874fd102%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc6b2147532416cc736e68a32678d3947b7053c3085cf43a9874fd102@%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf21b368769ae70de4dee840a3228721ae442f1d51ad8742003aefe39%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf21b368769ae70de4dee840a3228721ae442f1d51ad8742003aefe39@%3Cusers.tomcat.apache.org%3E
- lists.debian.org https://lists.debian.org/debian-lts-announce/2019/08/msg00015.html
- lists.opensuse.org https://lists.opensuse.org/opensuse-updates/2016-09/msg00025.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-5388
- rhn.redhat.com https://rhn.redhat.com/errata/RHSA-2016-1624.html
- rhn.redhat.com https://rhn.redhat.com/errata/RHSA-2016-2045.html
- rhn.redhat.com https://rhn.redhat.com/errata/RHSA-2016-2046.html
- tomcat.apache.org https://tomcat.apache.org/tomcat-7.0-doc/changelog.html
- ubuntu.com https://ubuntu.com/security/notices/USN-3177-1
- ubuntu.com https://ubuntu.com/security/notices/USN-4791-1
- www.apache.org https://www.apache.org/security/asf-httpoxy-response.txt
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-5388
- www.kb.cert.org https://www.kb.cert.org/vuls/id/797896
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.