CVE-2024-38475
Last modified
CVE-2024-38475 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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.. CISA has confirmed active exploitation in the wild. EPSS estimates a 99.96% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Http Server | >= 2.4.0, < 2.4.60 |
| Netapp | Ontap 9 | All versions |
| Sonicwall | Sma 200 Firmware | < 10.2.1.14-75sv |
| Sonicwall | Sma 210 Firmware | < 10.2.1.14-75sv |
| Sonicwall | Sma 400 Firmware | < 10.2.1.14-75sv |
| Sonicwall | Sma 410 Firmware | < 10.2.1.14-75sv |
| Sonicwall | Sma 500v Firmware | < 10.2.1.14-75sv |
References
- 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://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.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475Third Party Advisory, US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-38475?
How severe is CVE-2024-38475?
How do I fix CVE-2024-38475?
Are you affected by CVE-2024-38475?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
