PHP: sets environmental variable based on user supplied Proxy request header
Published Jul 19, 2016
8.1
HIGHCVSS 3.1
EPSS 50.43%
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
No data.
Configuration 1
- 10.0.0
- 10.0.1
- 12.0.0
- 12.2.2
- 12.3.2
- 6
- 7
Configuration 2
- 23
- 24
Configuration 3
- ≤ 5.09
Running on/with
- n/a
Configuration 4
- ≤ 7.5.5.0
Configuration 5
Configuration 6
- 6.0
- 6.0
- 6.0
Configuration 7
- 8.0
No data.
Red Hat Enterprise Linux 6
php-0:5.3.3-48.el6_8
Fixed · RHSA-2016:1609
Red Hat Enterprise Linux 7
php-0:5.4.16-36.3.el7_2
Fixed · RHSA-2016:1613
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-0:5.4.40-4.el6
Fixed · RHSA-2016:1610
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-php-0:5.5.21-5.el6
Fixed · RHSA-2016:1611
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-0:5.6.5-9.el6
Fixed · RHSA-2016:1612
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.40-4.el6
Fixed · RHSA-2016:1610
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.21-5.el6
Fixed · RHSA-2016:1611
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
rh-php56-php-0:5.6.5-9.el6
Fixed · RHSA-2016:1612
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
php54-php-0:5.4.40-4.el6
Fixed · RHSA-2016:1610
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
php55-php-0:5.5.21-5.el6
Fixed · RHSA-2016:1611
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-php-0:5.6.5-9.el6
Fixed · RHSA-2016:1612
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-0:5.4.40-4.el7
Fixed · RHSA-2016:1610
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-php-0:5.5.21-5.el7
Fixed · RHSA-2016:1611
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-0:5.6.5-9.el7
Fixed · RHSA-2016:1612
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
php54-php-0:5.4.40-4.el7
Fixed · RHSA-2016:1610
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
php55-php-0:5.5.21-5.el7
Fixed · RHSA-2016:1611
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
rh-php56-php-0:5.6.5-9.el7
Fixed · RHSA-2016:1612
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
php54-php-0:5.4.40-4.el7
Fixed · RHSA-2016:1610
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
php55-php-0:5.5.21-5.el7
Fixed · RHSA-2016:1611
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-php-0:5.6.5-9.el7
Fixed · RHSA-2016:1612
Red Hat Enterprise Linux 5
php
Will not fix
Red Hat Enterprise Linux 5
php53
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | php-0:5.3.3-48.el6_8 | Fixed | RHSA-2016:1609 |
| Red Hat Enterprise Linux 7 | php-0:5.4.16-36.3.el7_2 | Fixed | RHSA-2016:1613 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-0:5.4.40-4.el6 | Fixed | RHSA-2016:1610 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-php-0:5.5.21-5.el6 | Fixed | RHSA-2016:1611 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-0:5.6.5-9.el6 | Fixed | RHSA-2016:1612 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.40-4.el6 | Fixed | RHSA-2016:1610 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.21-5.el6 | Fixed | RHSA-2016:1611 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-php56-php-0:5.6.5-9.el6 | Fixed | RHSA-2016:1612 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | php54-php-0:5.4.40-4.el6 | Fixed | RHSA-2016:1610 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | php55-php-0:5.5.21-5.el6 | Fixed | RHSA-2016:1611 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-php-0:5.6.5-9.el6 | Fixed | RHSA-2016:1612 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-0:5.4.40-4.el7 | Fixed | RHSA-2016:1610 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-php-0:5.5.21-5.el7 | Fixed | RHSA-2016:1611 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-0:5.6.5-9.el7 | Fixed | RHSA-2016:1612 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | php54-php-0:5.4.40-4.el7 | Fixed | RHSA-2016:1610 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | php55-php-0:5.5.21-5.el7 | Fixed | RHSA-2016:1611 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | rh-php56-php-0:5.6.5-9.el7 | Fixed | RHSA-2016:1612 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | php54-php-0:5.4.40-4.el7 | Fixed | RHSA-2016:1610 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | php55-php-0:5.5.21-5.el7 | Fixed | RHSA-2016:1611 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-php-0:5.6.5-9.el7 | Fixed | RHSA-2016:1612 |
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
AV:N/AC:H/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (53 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 50.43% (0.50427) | 98.88th | v5 (v2026.06.15) |
| Jun 15, 2026 | 50.43% (0.50427) | 98.77th | v5 (v2026.06.15) |
| Jun 12, 2026 | 83.49% (0.83490) | 99.30th | v4 (v2025.03.14) |
| Jun 7, 2026 | 80.90% (0.80902) | 99.17th | v4 (v2025.03.14) |
| May 24, 2026 | 83.50% (0.83504) | 99.29th | v4 (v2025.03.14) |
| Mar 24, 2026 | 81.35% (0.81346) | 99.16th | v4 (v2025.03.14) |
| Mar 10, 2026 | 79.91% (0.79911) | 99.08th | v4 (v2025.03.14) |
| Mar 4, 2026 | 81.75% (0.81747) | 99.17th | v4 (v2025.03.14) |
| Mar 1, 2026 | 73.69% (0.73695) | 98.79th | v4 (v2025.03.14) |
| Feb 20, 2026 | 81.75% (0.81747) | 99.16th | v4 (v2025.03.14) |
| Feb 4, 2026 | 83.00% (0.82999) | 99.23th | v4 (v2025.03.14) |
| Feb 1, 2026 | 75.64% (0.75639) | 98.87th | v4 (v2025.03.14) |
| Jan 4, 2026 | 83.00% (0.82999) | 99.22th | v4 (v2025.03.14) |
| Jan 1, 2026 | 75.64% (0.75639) | 98.87th | v4 (v2025.03.14) |
| Dec 24, 2025 | 83.00% (0.82999) | 99.22th | v4 (v2025.03.14) |
| Dec 4, 2025 | 85.20% (0.85204) | 99.31th | v4 (v2025.03.14) |
| Dec 1, 2025 | 79.14% (0.79135) | 99.02th | v4 (v2025.03.14) |
| Nov 4, 2025 | 85.22% (0.85215) | 99.31th | v4 (v2025.03.14) |
| Nov 1, 2025 | 79.15% (0.79154) | 99.03th | v4 (v2025.03.14) |
| Oct 28, 2025 | 85.22% (0.85215) | 99.31th | v4 (v2025.03.14) |
| Oct 27, 2025 | 81.73% (0.81725) | 99.14th | v4 (v2025.03.14) |
| Oct 4, 2025 | 84.16% (0.84164) | 99.27th | v4 (v2025.03.14) |
| Oct 1, 2025 | 77.48% (0.77476) | 98.95th | v4 (v2025.03.14) |
| Sep 4, 2025 | 81.57% (0.81569) | 99.14th | v4 (v2025.03.14) |
| Sep 1, 2025 | 79.79% (0.79786) | 99.07th | v4 (v2025.03.14) |
| Aug 4, 2025 | 81.57% (0.81569) | 99.13th | v4 (v2025.03.14) |
| Aug 1, 2025 | 79.79% (0.79786) | 99.05th | v4 (v2025.03.14) |
| Jul 30, 2025 | 81.57% (0.81569) | 99.12th | v4 (v2025.03.14) |
| Jul 5, 2025 | 79.89% (0.79886) | 99.04th | v4 (v2025.03.14) |
| Jul 1, 2025 | 74.59% (0.74595) | 98.79th | v4 (v2025.03.14) |
| Jun 5, 2025 | 79.89% (0.79886) | 99.04th | v4 (v2025.03.14) |
| Jun 1, 2025 | 74.59% (0.74595) | 98.78th | v4 (v2025.03.14) |
| May 4, 2025 | 79.89% (0.79886) | 99.02th | v4 (v2025.03.14) |
| May 1, 2025 | 74.59% (0.74595) | 98.78th | v4 (v2025.03.14) |
| Apr 20, 2025 | 79.89% (0.79886) | 99.02th | v4 (v2025.03.14) |
| Apr 13, 2025 | 81.73% (0.81725) | 99.15th | v4 (v2025.03.14) |
| Apr 12, 2025 | 73.66% (0.73661) | 98.73th | v4 (v2025.03.14) |
| Apr 3, 2025 | 81.71% (0.81709) | 99.15th | v4 (v2025.03.14) |
| Mar 30, 2025 | 79.87% (0.79868) | 99.05th | v4 (v2025.03.14) |
| Mar 29, 2025 | 74.57% (0.74573) | 98.50th | v4 (v2025.03.14) |
| Mar 25, 2025 | 79.87% (0.79868) | 99.07th | v4 (v2025.03.14) |
| Mar 24, 2025 | 63.44% (0.63441) | 98.27th | v4 (v2025.03.14) |
| Mar 19, 2025 | 31.04% (0.31036) | 96.18th | v4 (v2025.03.14) |
| Mar 17, 2025 | 56.63% (0.56631) | 97.90th | v4 (v2025.03.14) |
| Dec 17, 2024 | 94.02% (0.94015) | 99.36th | v3 (v2023.03.01) |
| Dec 12, 2024 | 92.76% (0.92761) | 99.14th | v3 (v2023.03.01) |
| May 11, 2024 | 93.60% (0.93596) | 99.08th | v3 (v2023.03.01) |
| Mar 6, 2024 | 95.07% (0.95066) | 99.25th | v3 (v2023.03.01) |
| May 8, 2023 | 95.13% (0.95128) | 98.91th | v3 (v2023.03.01) |
| Mar 7, 2023 | 94.75% (0.94749) | 98.74th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.36% (0.04358) | 88.02th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.36% (0.04358) | 86.83th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.36% (0.04358) | 70.59th | v2 (v2022.01.01) |
References (52)
- http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-1609.html vendor-advisoryx_refsource_REDHATBroken LinkThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-1610.html vendor-advisoryx_refsource_REDHATBroken LinkThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-1611.html vendor-advisoryx_refsource_REDHATBroken LinkThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-1612.html vendor-advisoryx_refsource_REDHATBroken LinkThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-1613.html vendor-advisoryx_refsource_REDHATBroken LinkThird Party Advisory
- http://www.debian.org/security/2016/dsa-3631 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.kb.cert.org/vuls/id/797896 third-party-advisoryx_refsource_CERT-VNThird Party AdvisoryUS Government Resource
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html x_refsource_CONFIRMPatchThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html x_refsource_CONFIRMPatchThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html x_refsource_CONFIRMThird Party Advisory
- http://www.securityfocus.com/bid/91821 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1036335 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2016-5385 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1353794 x_refsource_CONFIRMIssue TrackingThird Party AdvisoryVDB Entry
- https://github.com/FriendsOfPHP/security-advisories/blob/master/amphp/artax/CVE-2016-5385.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/bugsnag/bugsnag-laravel/CVE-2016-5385.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2016-5385.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2016-5385.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2016-5385.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/padraic/humbug_get_contents/CVE-2016-5385.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2016-5385.yaml
- https://github.com/advisories/GHSA-m6ch-gg5f-wxx3 Advisory
- https://github.com/amphp/artax/commit/81254742812a5a9adf4b085f543f3f21daedcd97
- https://github.com/amphp/artax/commit/b60cf493c9e577a3678865f620b1eb61ab3d7ca9
- https://github.com/bugsnag/bugsnag-laravel/pull/143
- https://github.com/bugsnag/bugsnag-laravel/pull/145
- https://github.com/bugsnag/bugsnag-laravel/releases/tag/v2.0.2
- https://github.com/guzzle/guzzle/blob/4.x/CHANGELOG.md#424-2016-07-18
- https://github.com/guzzle/guzzle/blob/5.3/CHANGELOG.md#531---2016-07-18
- https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md#622---2016-10-08
- https://github.com/guzzle/guzzle/releases/tag/6.2.1 x_refsource_CONFIRMRelease NotesThird Party Advisory
- https://github.com/humbug/file_get_contents/pull/23
- https://github.com/humbug/file_get_contents/pull/23/commits/848e8c282a863654e76bd958acfb57c81cb739b5
- https://github.com/humbug/file_get_contents/releases/tag/1.1.2
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us x_refsource_CONFIRMThird Party Advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149 x_refsource_CONFIRMThird Party Advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05333297 x_refsource_CONFIRMThird Party Advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 x_refsource_CONFIRMThird Party Advisory
- https://httpoxy.org/ x_refsource_MISCThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7RMYXAVNYL2MOBJTFATE73TOVOEZYC5R/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GXFEIMZPSVGZQQAYIQ7U7DFVX3IBSDLF/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KZOIUYZDBWNDDHC6XTOLZYRMRXZWTJCP/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7RMYXAVNYL2MOBJTFATE73TOVOEZYC5R/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GXFEIMZPSVGZQQAYIQ7U7DFVX3IBSDLF/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KZOIUYZDBWNDDHC6XTOLZYRMRXZWTJCP/
- https://nvd.nist.gov/vuln/detail/CVE-2016-5385
- https://security.gentoo.org/glsa/201611-22 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://twitter.com/asyncphp/status/755136084917583872
- https://typo3.org/security/advisory/typo3-core-sa-2016-019
- https://www.cve.org/CVERecord?id=CVE-2016-5385
- https://www.drupal.org/SA-CORE-2016-003 x_refsource_CONFIRMThird Party Advisory
Change history (0)
No recorded changes yet.