{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-5385","id":"CVE-2016-5385","title":"HTTP Proxy header vulnerability","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","descriptionLong":"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.","published":"2016-07-19T01:00:00.000Z","updated":"2026-11-18T08:00:06.040530611Z","reserved":"2016-06-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"guzzlehttp/guzzle","purl":"pkg:composer/guzzlehttp/guzzle","ranges":[">=6 <6.2.1",">=4.0.0-rc2 <4.2.4",">=5 <5.3.1"],"fixed":["6.2.1","4.2.4","5.3.1"],"advisory":"GHSA-m6ch-gg5f-wxx3"},{"ecosystem":"Packagist","name":"drupal/core","purl":"pkg:composer/drupal/core","ranges":[">=8.0 <8.1.7"],"fixed":["8.1.7"],"advisory":"GHSA-m6ch-gg5f-wxx3"},{"ecosystem":"Packagist","name":"bugsnag/bugsnag-laravel","purl":"pkg:composer/bugsnag/bugsnag-laravel","ranges":["<2.0.2"],"fixed":["2.0.2"],"advisory":"GHSA-m6ch-gg5f-wxx3"},{"ecosystem":"Packagist","name":"amphp/artax","purl":"pkg:composer/amphp/artax","ranges":["<1.0.4",">=2.0.0 <2.0.4"],"fixed":["1.0.4","2.0.4"],"advisory":"GHSA-m6ch-gg5f-wxx3"},{"ecosystem":"Packagist","name":"padraic/humbug_get_contents","purl":"pkg:composer/padraic/humbug_get_contents","ranges":["<1.1.2"],"fixed":["1.1.2"],"advisory":"GHSA-m6ch-gg5f-wxx3"}],"cwes":["CWE-601"],"aliases":["GHSA-m6ch-gg5f-wxx3"],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7RMYXAVNYL2MOBJTFATE73TOVOEZYC5R/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05333297","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.kb.cert.org/vuls/id/797896","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","Third Party Advisory","US Government Resource","advisory","web"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://security.gentoo.org/glsa/201611-22","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.drupal.org/SA-CORE-2016-003","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1613.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link","Third Party Advisory","advisory","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1611.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link","Third Party Advisory","advisory","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1610.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link","Third Party Advisory","advisory","web"]},{"url":"http://www.debian.org/security/2016/dsa-3631","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/91821","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KZOIUYZDBWNDDHC6XTOLZYRMRXZWTJCP/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1609.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link","Third Party Advisory","advisory","web"]},{"url":"http://www.securitytracker.com/id/1036335","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://httpoxy.org/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1612.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link","Third Party Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1353794","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","report","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GXFEIMZPSVGZQQAYIQ7U7DFVX3IBSDLF/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://github.com/guzzle/guzzle/releases/tag/6.2.1","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-5385","tags":["advisory"]},{"url":"https://github.com/bugsnag/bugsnag-laravel/pull/143","tags":["web"]},{"url":"https://github.com/bugsnag/bugsnag-laravel/pull/145","tags":["web"]},{"url":"https://github.com/humbug/file_get_contents/pull/23","tags":["web"]},{"url":"https://github.com/humbug/file_get_contents/pull/23/commits/848e8c282a863654e76bd958acfb57c81cb739b5","tags":["web"]},{"url":"https://github.com/amphp/artax/commit/81254742812a5a9adf4b085f543f3f21daedcd97","tags":["web"]},{"url":"https://github.com/amphp/artax/commit/b60cf493c9e577a3678865f620b1eb61ab3d7ca9","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2016-5385.yaml","tags":["web"]},{"url":"https://github.com/bugsnag/bugsnag-laravel/releases/tag/v2.0.2","tags":["web"]},{"url":"https://github.com/guzzle/guzzle/blob/4.x/CHANGELOG.md#424-2016-07-18","tags":["web"]},{"url":"https://github.com/guzzle/guzzle/blob/5.3/CHANGELOG.md#531---2016-07-18","tags":["web"]},{"url":"https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md#622---2016-10-08","tags":["web"]},{"url":"https://github.com/humbug/file_get_contents/releases/tag/1.1.2","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7RMYXAVNYL2MOBJTFATE73TOVOEZYC5R/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GXFEIMZPSVGZQQAYIQ7U7DFVX3IBSDLF/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KZOIUYZDBWNDDHC6XTOLZYRMRXZWTJCP/","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.50427,"epssPercentile":0.98936,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-5385","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-5385","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-5385","ok":true,"note":"5 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m6ch-gg5f-wxx3","ok":true,"note":"GHSA-m6ch-gg5f-wxx3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-5385","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["laravel"],"critical":["EPSS 50% with CVSS 8.1"],"attention":null}