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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | zendframework/zend-feed | >= 1.0.0, < 2.10.3 | 2.10.3 | GHSA-jmmp-vh96-78rm |
References
- https://github.com/zendframework/zend-feed/commit/6641f4cf3f4586c63f83fd70b6d19966025c8888 web
- https://github.com/zendframework/zend-feed/commit/b28589c49bae3ee215cff904cc0be368e6409cd8 web
- https://framework.zend.com/security/advisory/ZF2018-01 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-feed/ZF2018-01.yaml web
- https://github.com/zendframework/zend-feed package