Think you have a false positive on this rule?

Sid 1-39737

Message

SERVER-WEBAPP HttpOxy CGI application vulnerability potential man-in-the-middle attempt

Summary

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.

Impact

CVSS base score 8.1 CVSS impact score 5.9 CVSS exploitability score 2.2 confidentialityImpact HIGH integrityImpact HIGH availabilityImpact HIGH

CVE-2016-5385:

CVSS base score 8.1

CVSS impact score 5.9

CVSS exploitability score 2.2

Confidentiality Impact HIGH

Integrity Impact HIGH

Availability Impact HIGH

CVE-2016-5386:

CVSS base score 8.1

CVSS impact score 5.9

CVSS exploitability score 2.2

Confidentiality Impact HIGH

Integrity Impact HIGH

Availability Impact HIGH

CVE-2016-5387:

CVSS base score 8.1

CVSS impact score 5.9

CVSS exploitability score 2.2

Confidentiality Impact HIGH

Integrity Impact HIGH

Availability Impact HIGH

CVE-2016-5388:

CVSS base score 8.1

CVSS impact score 5.9

CVSS exploitability score 2.2

Confidentiality Impact HIGH

Integrity Impact HIGH

Availability Impact HIGH

Detailed information

CVE-2016-5385: 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.

CVE-2016-5386: The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect a CGI application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue.

CVE-2016-5387: The Apache HTTP Server through 2.4.23 follows RFC 3875 section 4.1.18 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, aka an "httpoxy" issue. NOTE: the vendor states "This mitigation has been assigned the identifier CVE-2016-5387"; in other words, this is not a CVE ID for a vulnerability.

CVE-2016-5388: Apache Tomcat through 8.5.4, when the CGI Servlet is enabled, follows RFC 3875 section 4.1.18 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, aka an "httpoxy" issue. NOTE: the vendor states "A mitigation is planned for future releases of Tomcat, tracked as CVE-2016-5388"; in other words, this is not a CVE ID for a vulnerability.

Affected systems

  • hp systemmanagementhomepage 7.5.5.0
  • hp storeevermsl6480tapelibraryfirmware 5.09
  • php php 5.5.37
  • php php 5.6.23
  • php php 7.0.8
  • fedoraproject fedora 23
  • fedoraproject fedora 24
  • oracle linux 7.0
  • golang go 1.6
  • redhat enterpriselinuxserver 7.0
  • redhat enterpriselinuxserver_aus 7.2
  • redhat enterpriselinuxserver_eus 7.2
  • apache http_server 2.4.23
  • redhat jbosswebserver 2.1.0
  • oracle linux 5.0
  • oracle linux 6.0
  • oracle solaris 11.3
  • apache tomcat 8.5.4
  • redhat enterpriselinuxdesktop 6.0
  • redhat enterpriselinuxdesktop 7.0
  • redhat enterpriselinuxhpc_node 6.0
  • redhat enterpriselinuxhpc_node 7.0
  • redhat enterpriselinuxhpcnodeeus 7.2
  • redhat enterpriselinuxserver 6.0
  • redhat enterpriselinuxserver_tus 7.2
  • redhat enterpriselinuxworkstation 6.0
  • redhat enterpriselinuxworkstation 7.0

Ease of attack

CVE-2016-5385:

Access Vector

Access Complexity

Authentication

CVE-2016-5386:

Access Vector

Access Complexity

Authentication

CVE-2016-5387:

Access Vector

Access Complexity

Authentication

CVE-2016-5388:

Access Vector

Access Complexity

Authentication

False positives

None known

False negatives

None known

Corrective action

Upgrade to the latest non-affected version of the software.

Apply the appropriate vendor supplied patches.

Contributors

  • Talos research team.
  • This document was generated from data supplied by the national vulnerability database, a product of the national institute of standards and technology.
  • For more information see nvd.

Additional References

  • httpoxy.org