CVE-2016-5385
PHP: sets environmental variable based on user supplied Proxy request header
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- 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
Weakness: CWE-601
Affected packages · 7
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | amphp/artax | >=2, <2.0.4>0.7.1, <1.0.4 | No fix yet |
| Composer (PHP) | bugsnag/bugsnag-laravel | >=2, <2.0.2 | No fix yet |
| Composer (PHP) | drupal/core | >=8.0, <8.1.0>=8.1.0, <8.1.7 | No fix yet |
| Composer (PHP) | drupal/drupal | >=8.0, <8.1.0>=8.1.0, <8.1.7 | No fix yet |
| Composer (PHP) | guzzlehttp/guzzle | >=5, <5.3.1>=6, <6.2.1>=4.0.0-rc2, <4.2.4 | No fix yet |
| Composer (PHP) | padraic/humbug_get_contents | <1.1.2 | No fix yet |
| Composer (PHP) | typo3/cms | >=8.0.0, <8.1.0>=8.1.0, <8.2.0>=8.2.0, <8.2.1 | No fix yet |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | php +24 | 5.4.16-36.3.el7_2 |
Red Hat 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | php +24 | 0:5.4.16-36.3.el7_2 | RHSA-2016:1613 |
| 7 | php54-php +22 | 0:5.4.40-4.el7 | RHSA-2016:1610 |
| 7 | php55-php +24 | 0:5.5.21-5.el7 | RHSA-2016:1611 |
| 7 | rh-php56-php +26 | 0:5.6.5-9.el7 | RHSA-2016:1612 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | platformsh-cli | 3.67.2-1.2 | openSUSE-SU-2024:11175-1 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
- php.net http://php.net/ChangeLog-7.php#7.0.9
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1609.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1610.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1611.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1612.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1613.html
- www.debian.org http://www.debian.org/security/2016/dsa-3631
- www.kb.cert.org http://www.kb.cert.org/vuls/id/797896
- www.oracle.com http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
Show all 33 references
- www.oracle.com http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- www.securityfocus.com http://www.securityfocus.com/bid/91821
- www.securitytracker.com http://www.securitytracker.com/id/1036335
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-5385
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1353794
- github.com https://github.com/guzzle/guzzle/releases/tag/6.2.1
- h20566.www2.hpe.com https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us
- h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149
- h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05333297
- h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- httpoxy.org https://httpoxy.org/
- linux.oracle.com https://linux.oracle.com/cve/CVE-2016-5385.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2016-1613.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7RMYXAVNYL2MOBJTFATE73TOVOEZYC5R/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GXFEIMZPSVGZQQAYIQ7U7DFVX3IBSDLF/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KZOIUYZDBWNDDHC6XTOLZYRMRXZWTJCP/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-5385
- security.gentoo.org https://security.gentoo.org/glsa/201611-22
- typo3.org https://typo3.org/security/advisory/typo3-core-sa-2016-019
- ubuntu.com https://ubuntu.com/security/notices/USN-3045-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-5385
- www.drupal.org https://www.drupal.org/SA-CORE-2016-003
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.