HTTP Request Redirection Affecting amphp/artax package, versions >=2, <2.0.4>0.7.1, <1.0.4


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
92.76% (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-AMPHPARTAX-70002
  • published18 Jul 2016
  • disclosed18 Jul 2016
  • creditScott Geary

Introduced: 18 Jul 2016

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

How to fix?

Upgrade amphp/artax to version 2.0.4, 1.0.4 or higher.

Overview

Affected versions of amphp/artax are vulnerable to HTTP Request Redirection.

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