Arbitrary URL Rewrite Affecting zendframework/zend-diactoros package, versions <1.8.4


Severity

Recommended
0.0
medium
0
10

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

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 Arbitrary URL Rewrite vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-ZENDFRAMEWORKZENDDIACTOROS-72255
  • published2 Aug 2018
  • disclosed2 Aug 2018
  • creditDrupal Security Team

Introduced: 2 Aug 2018

CVE NOT AVAILABLE CWE-601  (opens in a new tab)

How to fix?

Upgrade zendframework/zend-diactoros to version 1.8.4 or higher.

Overview

zendframework/zend-diactoros contains implementations of the accepted PSR-7 HTTP message interfaces, as well as a "server" implementation similar to node's http.Server.

Affected versions of this package are vulnerable to an Arbitrary URL Rewrite vulnerability. The request URI marshaling process contains logic that inspects HTTP request headers that are specific to a given server-side URL rewrite mechanism.

When these headers are present on systems not running the specific URL rewriting mechanism, the URLs are subject to rewriting, allowing a malicious client or proxy to emulate the headers to request arbitrary content.

CVSS Scores

version 3.1