HTTP Proxy header vulnerability
High severity
GitHub Reviewed
Published
Apr 7, 2022
to the GitHub Advisory Database
•
Updated Feb 5, 2024
Package
Affected versions
>= 2.0.0, < 2.0.4
> 0.7.1, < 1.0.4
Patched versions
2.0.4
1.0.4
Description
Published by the National Vulnerability Database
Jul 19, 2016
Published to the GitHub Advisory Database
Apr 7, 2022
Reviewed
Apr 7, 2022
Last updated
Feb 5, 2024
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.
References