CVE-2016-5385PHP Open Redirect
HTTP Proxy header vulnerability
Published Jul 19, 2016 · Updated Dec 3, 2026 · Also known as DEBIAN-CVE-2016-5385, DEBIAN-CVE-2016-7124, DEBIAN-CVE-2016-7128, DEBIAN-CVE-2016-7129, DEBIAN-CVE-2016-7130, DEBIAN-CVE-2016-7131, DEBIAN-CVE-2016-7132, DEBIAN-CVE-2016-7411, DEBIAN-CVE-2016-7412, DEBIAN-CVE-2016-7413, DEBIAN-CVE-2016-7414, DEBIAN-CVE-2016-7416, DEBIAN-CVE-2016-7417, DEBIAN-CVE-2016-7418, DLA-749-1, DSA-3631-1, GHSA-m6ch-gg5f-wxx3, SUSE-SU-2016:2941-1, UBUNTU-CVE-2016-5385, openSUSE-SU-2024:11175-1
Key Facts
Patch immediately- CVE-2016-5385 is a high-severity vulnerability (CVSS 8.1 v3.1) affecting Drupal, System Management Homepage (Hp), Communications User Data Repository (Oracle) and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 50% probability of exploitation in the next 30 days.
- Fixed versions are available, including amphp/artax 1.0.4, amphp/artax 2.0.4, apache2-mod_php5 5.5.14-56.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
50%
Higher than 98.9% of all scored CVEs
Exploit maturity
None known
ATLAS score
29/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/amphp/artax/CVE-2016-5385.yaml
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/bugsnag/bugsnag-laravel/CVE-2016-5385.yaml
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2016-5385.yaml
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2016-5385.yaml
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2016-5385.yaml
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/padraic/humbug_get_contents/CVE-2016-5385.yaml
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.
Affected Products
380 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| DrupalDrupal | See advisory | 8.1.7 |
| System Management HomepageHp | See advisory | 7.5.5.0 |
| Communications User Data RepositoryOracle | 10.0.0, 10.0.1, 12.0.0 | n/a |
| Enterprise Manager Ops CenterOracle | 12.2.2, 12.3.2 | n/a |
| PHPPHP | See advisory | 5.5.38 |
Patched Releases
amphp/artax
1.0.4, 2.0.4
apache2-mod_php5
5.5.14-56.1, 5.5.14-68.1
apache2-mod_php7
7.0.7-25.1, 7.0.7-6.2
bugsnag/bugsnag-laravel
2.0.2
Drupal
8.1.7
drupal/core
8.1.7
drupal/drupal
8.1.7
guzzlehttp/guzzle
4.2.4, 5.3.1, 6.2.1
Storeever Msl6480 Tape Library Firmware
5.09
System Management Homepage
7.5.5.0
padraic/humbug_get_contents
1.1.2
PHP
0:5.3.3-48.el6_8, 0:5.4.16-36.3.el7_2, 5.3.3-48.el6_8, 5.4.16-36.3.el7_2, 5.5.38
php-bcmath
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-cli
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-common
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-dba
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-devel
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-embedded
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-enchant
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-fpm
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-gd
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-imap
5.3.3-48.el6_8
php-intl
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-ldap
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
php-mbstring
5.3.3-48.el6_8, 5.4.16-36.3.el7_2
Timeline
Publicly disclosed
Jul 19, 2016
Last updated
Dec 3, 2026
Weakness Type
- CWE-20 Improper Input Validation
- CWE-601 URL Redirection to Untrusted Site
References
- advisorygithub.com · CVE-2016-5385
- advisorygithub.com · CVE-2016-5385
- advisorygithub.com · CVE-2016-5385
- advisorygithub.com · CVE-2016-5385
- advisorygithub.com · CVE-2016-5385
FAQ
Common Questions.
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…
Affected: Drupal; System Management Homepage (Hp); Communications User Data Repository (Oracle) versions 10.0.0, 10.0.1, 12.0.0, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including amphp/artax 1.0.4, amphp/artax 2.0.4, apache2-mod_php5 5.5.14-56.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2016-5385 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo