What’s Vulnerable › Vulnerabilities
CVE-2016-5385
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 50.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-07-19 · updated 2026-06-17
- Weakness: CWE-601
Description
PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts 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, as demonstrated by (1) an application that makes a getenv('HTTP_PROXY') call or (2) a CGI configuration of PHP, aka an "httpoxy" issue.
Affected products
- Debian Linux: 8.0
- Drupal: from 8.0.0 before 8.1.7 — fixed in 8.1.7
- Fedoraproject Fedora: 23, 24
- HP Storeever Msl6480 Tape Library Firmware: through 5.09
- Hewlett Packard Enterprise System Management Homepage for Windows and Linux: through 7.5.5.0
- openSUSE Leap: 42.1
- Oracle Communications User Data Repository: 10.0.0, 10.0.1, 12.0.0
- Oracle Corporation Enterprise Manager Ops Center: 12.2.2, 12.3.2
- Oracle Corporation Oracle Linux: 6, 7
- PHP: from 5.5.0 before 5.5.38; from 5.6.0 before 5.6.24; from 7.0.0 through 7.0.8 — fixed in 5.5.38, 5.6.24
- RedHat Enterprise Linux Desktop: 6.0
- RedHat Enterprise Linux Server: 6.0
- RedHat Enterprise Linux Workstation: 6.0
How to fix
Upgrade to a fixed version: Drupal 8.1.7; PHP 5.5.38, 5.6.24. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
- http://rhn.redhat.com/errata/RHSA-2016-1609.html
- http://rhn.redhat.com/errata/RHSA-2016-1610.html
- http://rhn.redhat.com/errata/RHSA-2016-1611.html
- http://rhn.redhat.com/errata/RHSA-2016-1612.html
- http://rhn.redhat.com/errata/RHSA-2016-1613.html
- http://www.debian.org/security/2016/dsa-3631
- http://www.kb.cert.org/vuls/id/797896
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- http://www.securityfocus.com/bid/91821
Get alerted when CVE-2016-5385 or the next vulnerability affects your stack