CVE-2024-38475
Confirmed PUBLISHEDApache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Jul 01, 2024
- Exploitation Reported
- May 01, 2025
- CVSS
- 9.1 Critical
- EPSS
- 100.0%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| apache |
http_server
|
2.4.0 to <= 2.4.59 |
Affected |
| netapp |
ontap_9
|
0 to < * |
Affected |
| Apache Software Foundation |
Apache HTTP Server
|
2.4.0 to <= 2.4.59 |
Affected |
CVE References
- Vendor Advisory — httpd.apache.org httpd.apache.org · Vendor Advisory https://httpd.apache.org/security/vulnerabilities_24.html
- security.netapp.com/advisory/ntap-20240712-0001 security.netapp.com · CVE Record https://security.netapp.com/advisory/ntap-20240712-0001/
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2025-05-01 00:00 UTC |
| The Shadowserver | 2026-06-02 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38475.yaml | May 16, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Exploitation Status
Exploited in the wild
Recorded 2025-05-01 00:00:00 UTC · CISA
Proof of concept available
Recorded 2024-08-18 11:30:50 UTC · GitHub
Weaknesses (CWE)
-
Improper Encoding or Escaping of Output
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38475.yaml | May 16, 2025 |
Recent Mentions
Watchtower Labs · May 01, 2025
Another day, another edge device being targeted - it’s a typical Thursday!In today’s blog post, we’re excited to share our previously private analysis of the now exploited in-the-wild N-day vulnerabilities affecting SonicWall’s SMA100 appliance. Over the last few months, our client
All CISA Advisories · May 01, 2025
CISA has added two new vulnerabilities to its Known Exploited Vulnerabilities Catalog, based on evidence of active exploitation. CVE-2024-38475 Apache HTTP Server Improper Escaping of Output Vulnerability CVE-2023-44221 SonicWall SMA100 Appliances OS Command Injection Vulnerability These types of vulnerabilities are frequent attack vectors for malicious cyber actors and pose significant risks to the federal enterprise. Binding Operational Directive (BOD) 22-01: Reducing the Significant Risk of Known Exploited Vulnerabilities established the Known Exploited Vulnerabilities Catalog as a living list of known Common Vulnerabilities and Exposures (CVEs) that carry significant risk to the federal enterprise. BOD 22-01 requires Federal Civilian Executive Branch (FCEB) agencies to remediate identified vulnerabilities by the due date to protect FCEB networks against active threats. See the BOD 22-01 Fact Sheet for more information. Although BOD 22-01 only applies to FCEB agencies, CISA strongly urges all organizations to reduce their exposure to cyberattacks by prioritizing timely remediation of Catalog vulnerabilities as part of their vulnerability management practice. CISA will continue to add vulnerabilities to the catalog that meet the specified criteria.
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2024-08-18 11:30:50 UTC · 9 stars
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC about 2 months ago00:00 UTC · about 2 months ago
KEV confirmed by The Shadowserver
Exploitation attested by an external source
-
08:44 UTC about 1 year ago08:44 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
11:30 UTC almost 2 years ago11:30 UTC · almost 2 years ago
Public PoC available
Public proof-of-concept code published
-
18:15 UTC about 2 years ago18:15 UTC · about 2 years ago
CVE published
Vulnerability disclosed publicly
-
11:09 UTC about 2 years ago11:09 UTC · about 2 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2024-38475
{
"cve_id": "CVE-2024-38475",
"title": "Apache HTTP Server weakness in mod_rewrite when first segment of substitution...",
"affected_vendor": "Apache Software Foundation",
"affected_product": "Apache HTTP Server",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.1,
"epss_score": 0.99957,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}