Description
Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected. Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.
CVSS Metrics
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Attack Vector
- network
- Complexity
- low
- Privileges
- none
- User Action
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
- Weaknesses
- CWE-116
Metadata
- Primary Vendor
- APACHE
- Published
- 7/1/2024
- Last Modified
- 11/17/2025
- Source
- NIST NVD
- Note: Verify all details with official vendor sources before applying patches.
Affected Products
apache : http_servernetapp : ontap_9sonicwall : sma_200_firmwaresonicwall : sma_210_firmwaresonicwall : sma_400_firmwaresonicwall : sma_410_firmwaresonicwall : sma_500v_firmware
AI-Powered Remediation
Generate remediation guidance or a C-suite brief for this vulnerability.