Back to CVE catalog

AI summary

PHP through 7.0.8 does not protect applications from untrusted client data in the HTTP_PROXY environment variable, which can be set through a crafted Proxy header. A remote attacker can redirect an application's outbound HTTP traffic to an arbitrary proxy, for example where the application calls getenv('HTTP_PROXY') or PHP runs in CGI configuration.

Generated automatically from the source description. Check the sources below before acting.

CVE-2016-5385

PHP does not protect applications from untrusted client data in HTTP_PROXY

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

8.1High
Published:
Updated:
EPSS:
50.427%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Red HatRed Hat Enterprise Linux 5Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Client Optional (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux ComputeNode Optional (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Desktop Optional (v. 6)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux HPC Node (v. 6)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux HPC Node Optional (v. 6)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Server (v. 6)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Server (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Server Optional (v. 6)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Server Optional (v. 7)Affected versions:Source does not specify a version range

1–10 of 35 · Page 1 of 4

CVSS scores and metrics5
[email protected] · NVD (Primary)Primary8.1 / 10HighCVSS 3.1Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2016-5385 · OSV (source-vector)8.1 / 10HighCVSS 3.1Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat · Red Hat VEX (adp)5.0 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Low
User interaction
Not required
Scope
Changed

Source vector

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
[email protected] · NVD (Primary)5.1 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:P
Red Hat · Red Hat VEX (adp)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories30

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences