CVE-2016-5385

Summary

CVECVE-2016-5385
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-07-19 02:00:17 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionPHP 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.

Risk And Classification

Primary CVSS: v3.1 8.1 HIGH from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-601 | n/a


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary8.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary5.1AV:N/AC:H/Au:N/C:P/I:P/A:P

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
High
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:H/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 23 All All All
Operating System Fedoraproject Fedora 24 All All All
Hardware Hp Storeever Msl6480 Tape Library - All All All
Operating System Hp Storeever Msl6480 Tape Library Firmware All All All All
Application Hp System Management Homepage All All All All
Application Oracle Communications User Data Repository 10.0.0 All All All
Application Oracle Communications User Data Repository 10.0.1 All All All
Application Oracle Communications User Data Repository 12.0.0 All All All
Application Oracle Enterprise Manager Ops Center 12.2.2 All All All
Application Oracle Enterprise Manager Ops Center 12.3.2 All All All
Operating System Oracle Linux 6 - All All
Operating System Oracle Linux 7 - All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Broken Link, Third Party Advisory
[SECURITY] Fedora 23 Update: php-guzzlehttp-guzzle6-6.2.1-1.fc23 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Vulnerability Note VU#797896 - CGI web servers assign Proxy header values from client requests to internal HTTP_PROXY environment variables af854a3a-2127-422b-91ae-364da2661108 www.kb.cert.org Third Party Advisory, US Government Resource
Bug 1353794 – CVE-2016-5385 PHP: sets environmental variable based on user supplied Proxy request header af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory, VDB Entry
PHP: Multiple vulnerabilities (GLSA 201611-22) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
Drupal Core - Highly Critical - Injection - SA-CORE-2016-003 | Drupal.org af854a3a-2127-422b-91ae-364da2661108 www.drupal.org Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Broken Link, Third Party Advisory
Oracle Linux Bulletin - July 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Third Party Advisory
PHP "Proxy:" Header Processing Flaw Lets Remote Users Redirect the Target Application Requests to an Arbitrary Web Proxy in Certain Cases - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Third Party Advisory, VDB Entry
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Broken Link, Third Party Advisory
Oracle Critical Patch Update - January 2018 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Release 6.2.1 release · guzzle/guzzle · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Release Notes, Third Party Advisory
Document Display | HPE Support Center af854a3a-2127-422b-91ae-364da2661108 h20566.www2.hpe.com Third Party Advisory
PHP CVE-2016-5385 Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Document Display | HPE Support Center af854a3a-2127-422b-91ae-364da2661108 h20566.www2.hpe.com Third Party Advisory
Debian -- Security Information -- DSA-3631-1 php5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Document Display | HPE Support Center af854a3a-2127-422b-91ae-364da2661108 h20566.www2.hpe.com Third Party Advisory
openSUSE-SU-2016:1922-1: moderate: Security update for php5 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
[SECURITY] Fedora 24 Update: php-5.6.24-2.fc24 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Broken Link, Third Party Advisory
httpoxy af854a3a-2127-422b-91ae-364da2661108 httpoxy.org Third Party Advisory
Document Display | HPE Support Center af854a3a-2127-422b-91ae-364da2661108 h20566.www2.hpe.com Third Party Advisory
Oracle Critical Patch Update - July 2017 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Broken Link, Third Party Advisory
[SECURITY] Fedora 24 Update: php-guzzlehttp-guzzle6-6.2.1-1.fc24 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 24 Update: php-guzzlehttp-guzzle6-6.2.1-1.fc24 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 24 Update: php-5.6.24-2.fc24 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 23 Update: php-guzzlehttp-guzzle6-6.2.1-1.fc23 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
Red Hat Customer Portal MITRE access.redhat.com
Red Hat Customer Portal MITRE access.redhat.com
Red Hat Customer Portal MITRE access.redhat.com
Red Hat Customer Portal MITRE access.redhat.com
Red Hat Customer Portal MITRE access.redhat.com
CVE-2016-5385 - Red Hat Customer Portal MITRE access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report