CVE-2016-5385
PHP: sets environmental variable based on user supplied Proxy request header
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
PHP hasta la versión 7.0.8 no intenta abordar los conflictos de espacio de nombres de RFC 3875 sección 4.1.18 y por lo tanto no protege aplicaciones de la presencia de datos de clientes no confiables en ambiente variable de HTTP_PROXY, lo que ppodría permitir a atacantes remotos redireccionar el tráfico HTTP saliente de una aplicación a un servidor proxy arbitrario través de una cabecera Proxy manipulada en una petición HTTP, según lo demostrado por (1) una aplicación que hace una llamada getenv('HTTP_PROXY') o (2) una configuración CGI de PHP, también conocido como problema "httpoxy".
It was discovered that PHP did not properly protect against the HTTP_PROXY variable name clash. A remote attacker could possibly use this flaw to redirect HTTP requests performed by a PHP script to an attacker-controlled proxy via a malicious HTTP request.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2016-06-10 CVE Reserved
- 2016-07-19 CVE Published
- 2024-08-06 CVE Updated
- 2024-09-16 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
- CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
CAPEC
References (26)
URL | Tag | Source |
---|---|---|
http://www.kb.cert.org/vuls/id/797896 | Third Party Advisory | |
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html | Third Party Advisory | |
http://www.securityfocus.com/bid/91821 | Third Party Advisory | |
http://www.securitytracker.com/id/1036335 | Third Party Advisory | |
https://github.com/guzzle/guzzle/releases/tag/6.2.1 | Release Notes | |
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us | Third Party Advisory | |
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149 | Third Party Advisory | |
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05333297 | Third Party Advisory | |
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 | Third Party Advisory | |
https://httpoxy.org | Third Party Advisory | |
https://www.drupal.org/SA-CORE-2016-003 | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html | 2023-02-12 | |
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html | 2023-02-12 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Hp Search vendor "Hp" | Storeever Msl6480 Tape Library Firmware Search vendor "Hp" for product "Storeever Msl6480 Tape Library Firmware" | <= 5.09 Search vendor "Hp" for product "Storeever Msl6480 Tape Library Firmware" and version " <= 5.09" | - |
Affected
| in | Hp Search vendor "Hp" | Storeever Msl6480 Tape Library Search vendor "Hp" for product "Storeever Msl6480 Tape Library" | - | - |
Safe
|
Oracle Search vendor "Oracle" | Communications User Data Repository Search vendor "Oracle" for product "Communications User Data Repository" | 10.0.0 Search vendor "Oracle" for product "Communications User Data Repository" and version "10.0.0" | - |
Affected
| ||||||
Oracle Search vendor "Oracle" | Communications User Data Repository Search vendor "Oracle" for product "Communications User Data Repository" | 10.0.1 Search vendor "Oracle" for product "Communications User Data Repository" and version "10.0.1" | - |
Affected
| ||||||
Oracle Search vendor "Oracle" | Communications User Data Repository Search vendor "Oracle" for product "Communications User Data Repository" | 12.0.0 Search vendor "Oracle" for product "Communications User Data Repository" and version "12.0.0" | - |
Affected
| ||||||
Oracle Search vendor "Oracle" | Enterprise Manager Ops Center Search vendor "Oracle" for product "Enterprise Manager Ops Center" | 12.2.2 Search vendor "Oracle" for product "Enterprise Manager Ops Center" and version "12.2.2" | - |
Affected
| ||||||
Oracle Search vendor "Oracle" | Enterprise Manager Ops Center Search vendor "Oracle" for product "Enterprise Manager Ops Center" | 12.3.2 Search vendor "Oracle" for product "Enterprise Manager Ops Center" and version "12.3.2" | - |
Affected
| ||||||
Oracle Search vendor "Oracle" | Linux Search vendor "Oracle" for product "Linux" | 6 Search vendor "Oracle" for product "Linux" and version "6" | - |
Affected
| ||||||
Oracle Search vendor "Oracle" | Linux Search vendor "Oracle" for product "Linux" | 7 Search vendor "Oracle" for product "Linux" and version "7" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 23 Search vendor "Fedoraproject" for product "Fedora" and version "23" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 24 Search vendor "Fedoraproject" for product "Fedora" and version "24" | - |
Affected
| ||||||
Hp Search vendor "Hp" | System Management Homepage Search vendor "Hp" for product "System Management Homepage" | <= 7.5.5.0 Search vendor "Hp" for product "System Management Homepage" and version " <= 7.5.5.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | >= 5.5.0 < 5.5.38 Search vendor "Php" for product "Php" and version " >= 5.5.0 < 5.5.38" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | >= 5.6.0 < 5.6.24 Search vendor "Php" for product "Php" and version " >= 5.6.0 < 5.6.24" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | >= 7.0.0 <= 7.0.8 Search vendor "Php" for product "Php" and version " >= 7.0.0 <= 7.0.8" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Desktop Search vendor "Redhat" for product "Enterprise Linux Desktop" | 6.0 Search vendor "Redhat" for product "Enterprise Linux Desktop" and version "6.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Search vendor "Redhat" for product "Enterprise Linux Server" | 6.0 Search vendor "Redhat" for product "Enterprise Linux Server" and version "6.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Workstation Search vendor "Redhat" for product "Enterprise Linux Workstation" | 6.0 Search vendor "Redhat" for product "Enterprise Linux Workstation" and version "6.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 8.0 Search vendor "Debian" for product "Debian Linux" and version "8.0" | - |
Affected
| ||||||
Opensuse Search vendor "Opensuse" | Leap Search vendor "Opensuse" for product "Leap" | 42.1 Search vendor "Opensuse" for product "Leap" and version "42.1" | - |
Affected
| ||||||
Drupal Search vendor "Drupal" | Drupal Search vendor "Drupal" for product "Drupal" | >= 8.0.0 < 8.1.7 Search vendor "Drupal" for product "Drupal" and version " >= 8.0.0 < 8.1.7" | - |
Affected
|