← Vulnerability feed

Vulnerability record · CVE-2016-5385 · published 19 July 2016

CVE-2016-5385: PHP httpoxy HTTP_PROXY header namespace conflict enables proxy redirection

Oracle · Communications User Data Repository

PHP through 7.0.8 fails to address RFC 3875 section 4.1.18 namespace conflicts, so a client-supplied Proxy header is exposed to applications as the HTTP_PROXY environment variable. Applications that read getenv('HTTP_PROXY') or run under CGI can have their outbound HTTP traffic silently redirected to an attacker-controlled proxy. This is the httpoxy class of issue and affects a wide range of packaged PHP deployments.

8.1 CVSS 3.1 High EPSS 50% · top 1.1% CWE-601 · Open redirect
8.1CVSS 3.1 base score, v2 5.1
50%EPSS exploitation probability, 30 days
NoNot in CISA KEV
13Affected product versions listed by NVD
50References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityHigh CVSS (8.1) and very high EPSS with broad multi-vendor exposure, though exploitation requires an application that actually consumes HTTP_PROXY.

What it is

PHP through 7.0.8 fails to address RFC 3875 section 4.1.18 namespace conflicts, so a client-supplied Proxy header is exposed to applications as the HTTP_PROXY environment variable. Applications that read getenv('HTTP_PROXY') or run under CGI can have their outbound HTTP traffic silently redirected to an attacker-controlled proxy. This is the httpoxy class of issue and affects a wide range of packaged PHP deployments.

Impact

An attacker can redirect an application's outbound HTTP requests through a proxy they control, exposing credentials, session tokens and request bodies, and enabling manipulation of responses returned to the application.

Attack surface

Reachable remotely over the network by sending a crafted Proxy header in an HTTP request; no authentication or user interaction is required per the CVSS vector (AV:N/PR:N/UI:N). Only applications that read HTTP_PROXY or run in a CGI configuration are actually exposed.

Exploitation

Not listed in CISA KEV and no ransomware usage documented, but EPSS is high at roughly 0.50 (98.9th percentile), and the httpoxy.org advisory plus multiple vendor errata indicate broad public knowledge of the technique.

What to do

  • Upgrade PHP to a release that strips or blocks the Proxy header from the CGI environment, and apply vendor errata for Red Hat, Debian, SUSE, Fedora, Oracle, HPE and Drupal components.
  • Where patching is delayed, configure the web server or CGI layer to unset the HTTP_PROXY environment variable before invoking PHP.
  • Change application code to avoid reading getenv('HTTP_PROXY') for outbound proxy configuration, and use explicit configuration instead.
  • Audit outbound HTTP client libraries (for example Guzzle) and update to versions that ignore the untrusted Proxy header.
  • Restrict egress traffic from application servers so outbound requests cannot reach arbitrary proxy endpoints.

Detection

  • Inspect HTTP request logs for requests carrying a Proxy header, especially unusual or external source addresses.
  • Monitor outbound HTTP connections from application servers for traffic to unexpected proxy hosts or ports.
  • Review application and proxy logs for credential or token exposure correlated with requests containing a Proxy header.
  • Check PHP and web server configurations for HTTP_PROXY handling and confirm the variable is cleared in CGI environments.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

13 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1609.html Broken LinkThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1610.html Broken LinkThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1611.html Broken LinkThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1612.html Broken LinkThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1613.html Broken LinkThird Party Advisory
http://www.debian.org/security/2016/dsa-3631 Third Party Advisory
http://www.kb.cert.org/vuls/id/797896 Third Party AdvisoryUS Government Resource
http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html PatchThird Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html PatchThird Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html Third Party Advisory
http://www.securityfocus.com/bid/91821 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1036335 Third Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1353794 Issue TrackingThird Party AdvisoryVDB Entry
https://github.com/guzzle/guzzle/releases/tag/6.2.1 Release NotesThird Party Advisory
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149 Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05333297 Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 Third Party Advisory
https://httpoxy.org/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7RMYXAVNYL2MOBJTFATE73T
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GXFEIMZPSVGZQQAYIQ7U7DF
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KZOIUYZDBWNDDHC6XTOLZYR
https://security.gentoo.org/glsa/201611-22 Third Party Advisory
https://www.drupal.org/SA-CORE-2016-003 Third Party Advisory
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1609.html Broken LinkThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1610.html Broken LinkThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1611.html Broken LinkThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1612.html Broken LinkThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1613.html Broken LinkThird Party Advisory
http://www.debian.org/security/2016/dsa-3631 Third Party Advisory
http://www.kb.cert.org/vuls/id/797896 Third Party AdvisoryUS Government Resource
http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html PatchThird Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html PatchThird Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html Third Party Advisory
http://www.securityfocus.com/bid/91821 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1036335 Third Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1353794 Issue TrackingThird Party AdvisoryVDB Entry
https://github.com/guzzle/guzzle/releases/tag/6.2.1 Release NotesThird Party Advisory

Track CVE-2016-5385 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-9082Drupal core SQL injection in unauthenticated request pathDrupal core contains a SQL injection flaw (CWE-89) caused by improper neutralization of special elements in SQL commands. It affects multiple core br…KEVEPSS 16%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

Source: NIST National Vulnerability Database (record CVE-2016-5385), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.