ADVISORIES

GitHub Advisory Database

GHSA-m6ch-gg5f-wxx3

HTTP Proxy header vulnerability

Details

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 packages

EcosystemPackageAffected versions
Packagistguzzlehttp/guzzle
From 6 before 6.2.1 (fixed in 6.2.1)
Packagistguzzlehttp/guzzle
From 4.0.0-rc2 before 4.2.4 (fixed in 4.2.4)
Packagistguzzlehttp/guzzle
From 5 before 5.3.1 (fixed in 5.3.1)
Packagistdrupal/core
From 8.0 before 8.1.7 (fixed in 8.1.7)
Packagistbugsnag/bugsnag-laravel
All versions before 2.0.2 (fixed in 2.0.2)
Packagistamphp/artax
All versions before 1.0.4 (fixed in 1.0.4)
Packagistamphp/artax
From 2.0.0 before 2.0.4 (fixed in 2.0.4)
Packagistpadraic/humbug_get_contents
All versions before 1.1.2 (fixed in 1.1.2)

References