mod_rewrite · Improper Escaping of Output
Affects Apache HTTP ServerSource GCVE Database
Exploited in the wild · KEV due 22 May 2025 · public detection template (Nuclei) : apply the vendor's fix or mitigations to Apache HTTP Server now.
Data as of 29 Oct 2026, 22:52 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 9.1 |
|---|
- KEV deadline
- US federal agencies must patch by this date; a sensible deadline for everyone else. Other KEV due dates
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 1 Jul 2024
Detectable: evidence found.
nuclei template: Sonicwall - Pre-Authentication Arbitrary File Read
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: evidence found.
Listed in CISA KEV 304 days after disclosure
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by Apache Software Foundation
, 14 days before disclosure
CVE published
on cve.org
, t = 0
Added to CISA KEV (opens in a new tab)
exploitation confirmed
, 304 days after disclosure
KEV remediation due
US federal deadline
, 325 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA KEV (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2024-38475 (opens in a new tab)
- github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf (opens in a new tab)
- httpd.apache.org/security/vulnerabilities_24.html (opens in a new tab)
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018 (opens in a new tab)
- security.netapp.com/advisory/ntap-20240712-0001 (opens in a new tab)
- blackhat.com/us-24/briefings/schedule/index.html (opens in a new tab)
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/01/8 (opens in a new tab)