Exploited vulnerabilities · Apache
CVE-2024-38475
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.
Description in the NVD
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.
Required action according to CISA
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
What to do now
- Check your exposureFind out whether Apache HTTP Server runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- httpd.apache.org/security/vulnerabilities_24.html
- security.netapp.com/advisory/ntap-20240712-0001/
- github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018
- www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-s
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475
- nvd.nist.gov/vuln/detail/CVE-2024-38475
More exploited vulnerabilities in Apache products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.