CVE-2024-38475
CONFIRMED EXPLOITEDApache HTTP Server Improper Escaping of Output Vulnerability
Is Apache HTTP Server affected by CVE-2024-38475?
Apache HTTP Server is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2024-38475, added on 2025-05-01. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (7 vulnerable CPE entries): apache http_server, netapp ontap_9, sonicwall sma_200_firmware, sonicwall sma_210_firmware, sonicwall sma_400_firmware and sonicwall sma_410_firmware and 1 further CPE product entries.
Published CPE version bounds mark releases below 10.2.1.14-75sv as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2025-05-22.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2021-42013Same productApache HTTP Server
Apache HTTP Server Path Traversal Vulnerability
- CVE-2021-41773Same productApache HTTP Server
Apache HTTP Server Path Traversal Vulnerability
- CVE-2019-0211Same productApache HTTP Server
Apache HTTP Server Privilege Escalation Vulnerability
- CVE-2026-129448Same vendorApache Roller
Apache Roller Deserialization of Untrusted Data Vulnerability
- CVE-2023-44221Neighboring entrySonicWall SMA100 Appliances
SonicWall SMA100 Appliances OS Command Injection Vulnerability
- CVE-2024-58136Neighboring entryYiiframework Yii
Yiiframework Yii Improper Protection of Alternate Path Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2025-05-01. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of HTTP Server has been compromised.
- High Confidentiality impact (C:H): unauthorized disclosure of sensitive memory, credentials, or files.
- High Integrity impact (I:H): unauthorized modification of system state, configuration, or execution flow.
- HTTP / web application surface (Apache HTTP Server): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Inventory all hosts running Apache HTTP Server and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- https://httpd.apache.org/security/vulnerabilities_24.htmlVendor Advisory
- https://security.netapp.com/advisory/ntap-20240712-0001/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/07/01/8Third Party Advisory
- https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cfPatch
- https://httpd.apache.org/security/vulnerabilities_24.htmlVendor Advisory
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240712-0001/Third Party Advisory
- https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475Third Party AdvisoryUS Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine