CVE-2024-38475
Published: May 1, 2025
Official Description
Apache HTTP Server contains an improper escaping of output vulnerability in mod_rewrite that 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.
CISA KEV Advisory
Apache HTTP Server Improper Escaping of Output Vulnerability
Apache HTTP Server contains an improper escaping of output vulnerability in mod_rewrite that 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.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Risk Analysis
Apache HTTP Server's mod_rewrite module contains an improper escaping vulnerability that allows attackers to map URLs to unintended filesystem locations, potentially leading to code execution or source code disclosure. With an EPSS score of 0.93858, the likelihood of exploitation is very high, and its inclusion in CISA's KEV confirms active exploitation, making this a critical vulnerability.
Active exploitation of this vulnerability has been observed in the wild, as indicated by its 'in_the_wild' exploit status and presence in CISA's KEV. The flaw is remotely exploitable through crafted URL requests.
Administrators of Apache HTTP Server should apply all available security updates and patches. Reviewing and hardening mod_rewrite configurations to prevent unintended URL mappings is also crucial.
Technical Analysis
CVE-2024-38475 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CISA has added CVE-2024-38475 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild. U.S. federal agencies are required to patch this within the mandated timeframe, and all organizations should treat remediation as urgent.
Affected Vendors & Products
Exploit & PoC Resources
All References (1)
Quick Facts
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-38475 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
- !CISA KEV: Federal agencies must patch per BOD 22-01 timeline
- !Active exploitation confirmed — treat as P1