Apache HTTP Server Improper Escaping of Output Vulnerability
CVE-2024-38475Known exploitedCritical
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.
Description from the US National Vulnerability Database.
Scores and dates
- Added to KEV
- 1 May 2025
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Detail
Apache HTTP Server. CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Weakness: CWE-116 (opens in a new tab)
Affected versions
- apache http server: from 2.4.0, before 2.4.60
- netapp ontap 9: All versions listed
- sonicwall sma 200 firmware: before 10.2.1.14-75sv
- sonicwall sma 210 firmware: before 10.2.1.14-75sv
- sonicwall sma 400 firmware: before 10.2.1.14-75sv
- sonicwall sma 410 firmware: before 10.2.1.14-75sv
- sonicwall sma 500v firmware: before 10.2.1.14-75sv