Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-5385

PHP: sets environmental variable based on user supplied Proxy request header

Overview

Published
19 Jul 2016
Modified
17 Jun 2026
High CVE
7 Registry packages
101 OS packages
3 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.1 · HIGH

CVSS 3.1 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.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-601

Affected packages · 7

Packages affected by CVE-2016-5385
EcosystemPackageVulnerableFixed in
Composer (PHP) amphp/artax >=2, <2.0.4>0.7.1, <1.0.4 No fix yet
Composer (PHP) bugsnag/bugsnag-laravel >=2, <2.0.2 No fix yet
Composer (PHP) drupal/core >=8.0, <8.1.0>=8.1.0, <8.1.7 No fix yet
Composer (PHP) drupal/drupal >=8.0, <8.1.0>=8.1.0, <8.1.7 No fix yet
Composer (PHP) guzzlehttp/guzzle >=5, <5.3.1>=6, <6.2.1>=4.0.0-rc2, <4.2.4 No fix yet
Composer (PHP) padraic/humbug_get_contents <1.1.2 No fix yet
Composer (PHP) typo3/cms >=8.0.0, <8.1.0>=8.1.0, <8.2.0>=8.2.0, <8.2.1 No fix yet

Open a package to see all its vulnerabilities.

Operating systems · 6 fixes

Oracle Linux 1 release · 1 package

fixed 1
php
Oracle Linux fixes for CVE-2016-5385
ReleasePackageFixed in
7 php +24 5.4.16-36.3.el7_2

Red Hat 1 release · 4 packages

fixed 4
php php54-php php55-php rh-php56-php
Red Hat fixes for CVE-2016-5385
ReleasePackageFixed inAdvisory
7 php +24 0:5.4.16-36.3.el7_2 RHSA-2016:1613
7 php54-php +22 0:5.4.40-4.el7 RHSA-2016:1610
7 php55-php +24 0:5.5.21-5.el7 RHSA-2016:1611
7 rh-php56-php +26 0:5.6.5-9.el7 RHSA-2016:1612

openSUSE 1 release · 1 package

fixed 1
platformsh-cli
openSUSE fixes for CVE-2016-5385
ReleasePackageFixed inAdvisory
Tumbleweed platformsh-cli 3.67.2-1.2 openSUSE-SU-2024:11175-1

References

Show all 33 references

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.