Skip to content
OpenAdvisories
High · 8.1 CVE-2016-5385 EUVD-2016-6335GHSA-m6ch-gg5f-wxx3

HTTP Proxy header vulnerability

Published Jul 19, 2016 · Updated Aug 6, 2024 · Assigned by redhat

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) an application that makes a getenv('HTTP_PROXY') call or (2) a CGI configuration of PHP, aka an "httpoxy" issue.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 php5 5.6.24+dfsg-0+deb8u1 DSA-3631-1
Debian 7 php5 5.4.45-0+deb7u6 DLA-749-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS php7.0 7.0.8-0ubuntu0.16.04.2 USN-3045-1
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.19 USN-3045-1
ReleasePackageFixed inAdvisory
RHEL 7 php +24 5.4.16-36.3.el7_2 RHSA-2016:1613
RHEL 6 php +26 5.3.3-48.el6_8 RHSA-2016:1609
RHEL 2 php54-php +24 5.4.40-4.el6 RHSA-2016:1610
RHEL 2 php55-php +26 5.5.21-5.el6 RHSA-2016:1611
RHEL 2 rh-php56-php +27 5.6.5-9.el6 RHSA-2016:1612
ReleasePackageFixed inAdvisory
SLES 12 SP2 php7 7.0.7-25.1 SUSE-SU-2016:2941-1
SLES 12 SP1 php5 5.5.14-68.1 SUSE-SU-2016:1842-1
SLES 12 SP1 php7 7.0.7-25.1 SUSE-SU-2016:2941-1
SLES 12 php5 5.5.14-68.1 SUSE-SU-2016:1842-1
SLES 12 php7 7.0.7-25.1 SUSE-SU-2016:2941-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed platformsh-cli 3.67.2-1.2 openSUSE-SU-2024:11175-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 php +24 5.4.16-36.3.el7_2 ELSA-2016-1613

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist amphp/artax < 1.0.4 1.0.4 GHSA-m6ch-gg5f-wxx3
Packagist amphp/artax >= 2.0.0, < 2.0.4 2.0.4 GHSA-m6ch-gg5f-wxx3
Packagist bugsnag/bugsnag-laravel < 2.0.2 2.0.2 GHSA-m6ch-gg5f-wxx3
Packagist drupal/core >= 8.0, < 8.1.7 8.1.7 GHSA-m6ch-gg5f-wxx3
Packagist guzzlehttp/guzzle >= 6, < 6.2.1 6.2.1 GHSA-m6ch-gg5f-wxx3
Packagist guzzlehttp/guzzle >= 4.0.0-rc2, < 4.2.4 4.2.4 GHSA-m6ch-gg5f-wxx3
Packagist guzzlehttp/guzzle >= 5, < 5.3.1 5.3.1 GHSA-m6ch-gg5f-wxx3
Packagist padraic/humbug_get_contents < 1.1.2 1.1.2 GHSA-m6ch-gg5f-wxx3

Advisories 16

References