GHSA-cg8w-5jrc-675g: Zend-HTTP URL Rewrite vulnerability
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.
Published Jun 7, 2024
Affected packages
zendframework/zend-http
- Ecosystem
- Composer (PHP)
- Affected
- >= 1.0.0, < 2.8.1
- Fixed in
- 2.8.1
- Check
composer show zendframework/zend-http
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/zendframework/zend-http/commit/44197164a270259116162a442f639085ea24094a
- https://github.com/zendframework/zend-http/commit/5234f4a9e8137b731ab95d6a17879d4eb8fb9e39
- https://framework.zend.com/security/advisory/ZF2018-01
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-http/ZF2018-01.yaml
- https://github.com/advisories/GHSA-cg8w-5jrc-675g
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
