HTTP Request Redirection Affecting guzzlehttp/guzzle package, versions >=6, <6.2.1>=5, <5.3.1>=4.0.0-rc2, <4.2.4


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
94.02% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about HTTP Request Redirection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GUZZLEHTTPGUZZLE-70104
  • published15 Jul 2015
  • disclosed15 Jul 2015
  • creditUnknown

Introduced: 15 Jul 2015

CVE-2016-5385  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade guzzlehttp/guzzle to version 6.2.1, 5.3.1, 4.2.4 or higher.

Overview

Affected versions of guzzlehttp/guzzle are vulnerable to HTTP Proxy header vulnerability.

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.

CVSS Scores

version 3.1