# GHSA-fh7r-58q4-6387: Zendframework URL Rewrite vulnerability

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-06-07T20:55:32.000Z
- Modified: 2024-12-04T05:41:23.708Z
- Weaknesses: CWE-352

## 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.

(As written by GitHub Advisory Database.)

## Affected

- zendframework/zendframework (Packagist): before 2.5.0

## References

- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/ZF2018-01.yaml> (web)
- <https://github.com/zendframework/zendframework> (package)
- <https://web.archive.org/web/20210618220447/https://framework.zend.com/security/advisory/ZF2018-01> (web)

## Sources

- GitHub Advisory Database: [GHSA-fh7r-58q4-6387](https://github.com/advisories/GHSA-fh7r-58q4-6387), CC-BY-4.0, modified 2024-12-04

---

Page: https://cve.day/GHSA-fh7r-58q4-6387 · Whole record: https://cve.day/GHSA-fh7r-58q4-6387.json · Rebuilt by cve.day 2026-11-25T22:56:32.032Z
