Hexret
CVE-2016-5385high 8.1PoC available

httpoxy: the Proxy header becomes HTTP_PROXY

CGI maps an inbound `Proxy` header to `HTTP_PROXY`, colliding with the conventional environment variable for an outbound HTTP proxy. PHP applications and libraries that trusted `getenv('HTTP_PROXY')` could route server-side requests through an attacker-selected proxy.

Product
PHP CGI/FastCGI environment handling and applications trusting HTTP_PROXY
Vendor
PHP Group
Affected
PHP through 7.0.8 in CGI or FastCGI-style deployments where application or library code uses the request-derived `HTTP_PROXY` environment variable as outbound proxy configuration
Fixed in
PHP 5.5.38, 5.6.24, and 7.0.9 or later in their branches, plus web-server or application defenses that reject the `Proxy` request header and never trust CGI `HTTP_PROXY`
Weakness
CWE-601
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
18 Jul 2016

Practice this CVE, free

Classified as

References

Related CVEs