CVE-2016-5385: High severity php vulnerability

Published Jul 15, 2015
·
Updated

Dominic Scheirlinck of VendHQ reports:

Many software projects and vendors have implemented support for the “Proxy” request header in their respective CGI implementations and languages by creating the “HTTPPROXY” environmental variable based on the header value. When this variable is used (in many cases automatically by various HTTP client libraries) any outgoing requests generated in turn from the attackers original request can be redirected to an attacker controlled proxy. This allows attackers to view potentially sensitive information, reply with malformed data, or to hold connections open causing a potential denial of service.

The PHP web framework contains will automatically populate the HTTPPROXY environmental variable with a user supplied "Proxy" header.

Other sources

Drupal Core - Highly Critical - Injection - SA-CORE-2016-003

Fixed bug (HTTPPROXY is improperly trusted by some PHP libraries and applications). (CVE-2016-5385)

PHP

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

GitHub

Affected Software

41 affected componentsFixes available
composer/amphp/artax>=2, <2.0.4, >0.7.1, <1.0.4
composer/bugsnag/bugsnag-laravel>=2, <2.0.2
2.0.2
composer/drupal/core>=8.0, <8.1.0, >=8.1.0, <8.1.7
composer/guzzlehttp/guzzle>=6, <6.2.1, >=4.0.0-rc2, <4.2.4, >=5, <5.3.1
6.2.1
composer/drupal/drupal>=8.0, <8.1.0, >=8.1.0, <8.1.7
composer/padraic/humbug_get_contents<1.1.2
1.1.2
composer/typo3/cms>=8.0.0, <8.1.0, >=8.1.0, <8.2.0, >=8.2.0, <8.2.1
composer/typo3/cms>=8.0.0<8.2.1
8.2.1
composer/drupal/drupal>=8.0<8.1.7
8.1.7
composer/bugsnag/bugsnag-laravel>=2<2.0.2
2.0.2
composer/amphp/artax>0.7.1<1.0.4
1.0.4
composer/padraic/humbug_get_contents<1.1.2
1.1.2
composer/amphp/artax>=2.0.0<2.0.4
2.0.4
composer/drupal/core>=8.0<8.1.7
8.1.7
composer/guzzlehttp/guzzle>=5<5.3.1
5.3.1
composer/guzzlehttp/guzzle>=4.0.0-rc2<4.2.4
4.2.4
composer/guzzlehttp/guzzle>=6<6.2.1
6.2.1
PHP PHP<7.0.9
7.0.9
Oracle Communications User Data Repository=10.0.0
Oracle Communications User Data Repository=10.0.1
Oracle Communications User Data Repository=12.0.0
Oracle Enterprise Manager Ops Center=12.2.2
Oracle Enterprise Manager Ops Center=12.3.2
Oracle Linux=6
Oracle Linux=7
Fedoraproject Fedora=23
Fedoraproject Fedora=24
All of the following
HP Storeever Msl6480 Tape Library Firmware<=5.09
HP Storeever Msl6480 Tape Library
HP System Management Homepage<=7.5.5.0
PHP PHP>=5.5.0<5.5.38
PHP PHP>=5.6.0<5.6.24
PHP PHP>=7.0.0<=7.0.8
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Workstation=6.0
Debian Debian Linux=8.0
openSUSE Leap=42.1
Drupal Drupal>=8.0.0<8.1.7
HP Storeever Msl6480 Tape Library Firmware<=5.09
HP Storeever Msl6480 Tape Library

Event History

Jul 15, 2015
Advisory Published
07:28 PM
Jul 8, 2016
Data Sourced
via Red Hat·03:17 AM
DescriptionSeverityAffected Software
Jul 19, 2016
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-5385?

CVE-2016-5385 is classified as a medium severity vulnerability.

2

How do I fix CVE-2016-5385?

To fix CVE-2016-5385, update the affected packages to their latest versions as specified in the vulnerability report.

3

Which software is affected by CVE-2016-5385?

CVE-2016-5385 affects various packages including PHP, Drupal, Guzzle, and many others.

4

What type of vulnerability is CVE-2016-5385?

CVE-2016-5385 is a vulnerability related to improper handling of the Proxy request header.

5

Is CVE-2016-5385 being actively exploited?

There have been no public reports indicating that CVE-2016-5385 is currently being actively exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203