CVE-2024-38475
CVE-2024-38475 is a critical-severity vulnerability in Apache Http Server with a CVSS 3.x base score of 9.1. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2025-05-01). The underlying weakness is classified as CWE-116.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- EPSS exploit prediction: 100% (100th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2025-05-01)
- EU (EUVD) id: EUVD-2024-37356
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2025-05-01)
- Weakness: CWE-116
- Affected product: Apache Http Server
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-38475?
- 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.
- How severe is CVE-2024-38475?
- CVE-2024-38475 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2024-38475 being actively exploited?
- Yes. CVE-2024-38475 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2025-05-01, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2024-38475?
- CVE-2024-38475 primarily affects Apache Http Server. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-38475?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2024-38475 have an EU (EUVD) identifier?
- Yes. CVE-2024-38475 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-37356. It is also flagged as exploited in the EUVD (since 2025-05-01).
- When was CVE-2024-38475 published?
- CVE-2024-38475 was published on 2024-07-01 and last updated on 2026-06-17.
References
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://security.netapp.com/advisory/ntap-20240712-0001/
- http://www.openwall.com/lists/oss-security/2024/07/01/8
- https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018
- https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475
Affected products (7)
- cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:ontap_9:-:*:*:*:*:*:*:*
- cpe:2.3:o:sonicwall:sma_200_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:sonicwall:sma_210_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:sonicwall:sma_400_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:sonicwall:sma_410_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:sonicwall:sma_500v_firmware:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Http Server
- CVE-2010-0425 — Critical (CVSS 10.0): modules/arch/win32/mod_isapi.c in mod_isapi in the Apache HTTP Server 2.0.37 through 2.0.63, 2.2.0 through 2.2.14, and…
- CVE-2005-2700 — Critical (CVSS 10.0): ssl_engine_kernel.c in mod_ssl before 2.8.24, when using "SSLVerifyClient optional" in the global virtual host…
- CVE-2004-0492 — Critical (CVSS 10.0): Heap-based buffer overflow in proxy_util.c for mod_proxy in Apache 1.3.25 to 1.3.31 allows remote attackers to cause a…
- CVE-2003-0789 — Critical (CVSS 10.0): mod_cgid in Apache before 2.0.48, when using a threaded MPM, does not properly handle CGI redirect paths, which could…
- CVE-1999-1293 — Critical (CVSS 10.0): mod_proxy in Apache 1.2.5 and earlier allows remote attackers to cause a denial of service via malformed FTP commands,…
- CVE-1999-0926 — Critical (CVSS 10.0): Apache allows remote attackers to conduct a denial of service via a large number of MIME headers.
All CVEs affecting Apache Http Server →
Other CWE-116 vulnerabilities
- CVE-2025-55730 — Critical (CVSS 10.0): XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in…
- CVE-2025-55729 — Critical (CVSS 10.0): XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in…
- CVE-2023-47143 — Critical (CVSS 10.0): IBM Tivoli Application Dependency Discovery Manager 7.3.0.0 through 7.3.0.10 is vulnerable to HTTP header injection,…
- CVE-2023-26472 — Critical (CVSS 9.9): XWiki Platform is a generic wiki platform. Starting in version 6.2-milestone-1, one can execute any wiki content with…
- CVE-2022-41934 — Critical (CVSS 9.9): XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with…
- CVE-2022-36100 — Critical (CVSS 9.9): XWiki Platform Applications Tag and XWiki Platform Tag UI are tag applications for XWiki, a generic wiki platform.…
Browse all CWE-116 vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 50.255.62.89 (ipv4-addr)
- 147.15.15.226 (ipv4-addr)
- 45.84.120.3 (ipv4-addr)
- 77.90.185.88 (ipv4-addr)
- 77.90.185.87 (ipv4-addr)
- 74.87.117.150 (ipv4-addr)
- 61.76.112.4 (ipv4-addr)
- 60.199.224.2 (ipv4-addr)