GitHub Advisoryadvisory · Packagist

GHSA-cg8w-5jrc-675g Zend-HTTP URL Rewrite vulnerability

HIGH Published 2024-06-07 Modified 2024-06-07 Official page ↗
Ecosystem
Packagist
Packages
zendframework/zend-http
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-352
Reviewed
2024-06-07

Affected packages

• Packagist zendframework/zend-http: >= 1.0.0, < 2.8.1 → fixed in 2.8.1

Description

zend-diactoros (and, by extension, Expressive), zend-http (and, by extension, Zend Framework MVC projects), and zend-feed (specifically, its PubSubHubbub sub-component) each contain a potential URL rewrite exploit. In each case, marshaling a request URI includes logic that introspects 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 logic would still trigger, allowing a malicious client or proxy to emulate the headers to request arbitrary content.

Related

Weakness · CWE (1)

  • CWE-352 Cross-Site Request Forgery weakness

References