CVE-2016-5385in critical feed
HTTP Proxy header vulnerability
Also known as GHSA-m6ch-gg5f-wxx3
Published 10 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
50.43% probability of exploitation in the next 30 days, higher than 99% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| packagist | guzzlehttp/guzzle | >=6, <6.2.1 >=4.0.0-rc2, <4.2.4 >=5, <5.3.1 | 6.2.1 4.2.4 5.3.1 |
| packagist | drupal/core | >=8.0, <8.1.7 | 8.1.7 |
| packagist | bugsnag/bugsnag-laravel | <2.0.2 | 2.0.2 |
| packagist | amphp/artax | <1.0.4 >=2.0.0, <2.0.4 | 1.0.4 2.0.4 |
| packagist | padraic/humbug_get_contents | <1.1.2 | 1.1.2 |
Classification
- Weakness
- CWE-601 URL Redirection to Untrusted Site
- Technology feeds
- PHP (RSS, critical only)
References
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/7RMYXAVNYL2MOBJTFATE73TO · vendor-advisory, x_refsource_FEDORA, x_transferred
- h20566.www2.hpe.com /portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149 · x_refsource_CONFIRM, x_transferred
- h20566.www2.hpe.com /portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05333297 · x_refsource_CONFIRM, x_transferred
- kb.cert.org /vuls/id/797896 · third-party-advisory, x_refsource_CERT-VN, x_transferred
- oracle.com /technetwork/security-advisory/cpujan2018-3236628.html · x_refsource_CONFIRM, x_transferred
- security.gentoo.org /glsa/201611-22 · vendor-advisory, x_refsource_GENTOO, x_transferred
- lists.opensuse.org /opensuse-updates/2016-08/msg00003.html · vendor-advisory, x_refsource_SUSE, x_transferred
- drupal.org /SA-CORE-2016-003 · x_refsource_CONFIRM, x_transferred
- oracle.com /technetwork/topics/security/linuxbulletinjul2016-3090544.html · x_refsource_CONFIRM, x_transferred
- rhn.redhat.com /errata/RHSA-2016-1613.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- rhn.redhat.com /errata/RHSA-2016-1611.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- rhn.redhat.com /errata/RHSA-2016-1610.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- debian.org /security/2016/dsa-3631 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- securityfocus.com /bid/91821 · vdb-entry, x_refsource_BID, x_transferred
- h20566.www2.hpe.com /portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 · x_refsource_CONFIRM, x_transferred
- h20566.www2.hpe.com /hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us · x_refsource_CONFIRM, x_transferred
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/KZOIUYZDBWNDDHC6XTOLZYRM · vendor-advisory, x_refsource_FEDORA, x_transferred
- rhn.redhat.com /errata/RHSA-2016-1609.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- securitytracker.com /id/1036335 · vdb-entry, x_refsource_SECTRACK, x_transferred
- httpoxy.org / · x_refsource_MISC, x_transferred
- oracle.com /technetwork/security-advisory/cpujul2017-3236622.html · x_refsource_CONFIRM, x_transferred
- rhn.redhat.com /errata/RHSA-2016-1612.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- bugzilla.redhat.com /show_bug.cgi?id=1353794 · x_refsource_CONFIRM, x_transferred
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/GXFEIMZPSVGZQQAYIQ7U7DFV · vendor-advisory, x_refsource_FEDORA, x_transferred
- github.com /guzzle/guzzle/releases/tag/6.2.1 · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-5385 · advisory
- github.com /bugsnag/bugsnag-laravel/pull/143 · web
- github.com /bugsnag/bugsnag-laravel/pull/145 · web
- github.com /humbug/file_get_contents/pull/23 · web
- github.com /humbug/file_get_contents/pull/23/commits/848e8c282a863654e76bd958acfb57c81cb739b5 · web
- github.com /amphp/artax/commit/81254742812a5a9adf4b085f543f3f21daedcd97 · web
- github.com /amphp/artax/commit/b60cf493c9e577a3678865f620b1eb61ab3d7ca9 · web
- github.com /FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2016-5385.yaml · web
- github.com /bugsnag/bugsnag-laravel/releases/tag/v2.0.2 · web
- github.com /guzzle/guzzle/blob/4.x/CHANGELOG.md#424-2016-07-18 · web
- github.com /guzzle/guzzle/blob/5.3/CHANGELOG.md#531---2016-07-18 · web
- github.com /guzzle/guzzle/blob/master/CHANGELOG.md#622---2016-10-08 · web
- github.com /humbug/file_get_contents/releases/tag/1.1.2 · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/7RMYXAVNYL2MOBJTFATE73TOVO · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/GXFEIMZPSVGZQQAYIQ7U7DFVX3 · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/KZOIUYZDBWNDDHC6XTOLZYRMRX · web
Sources
- CVE List: CVE-2016-5385
- GitHub Advisory: GHSA-m6ch-gg5f-wxx3
- NVD: CVE-2016-5385
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.