CVE-2024-38475
CRITICALCISA KEV1 Public PoCImproper 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.
CVSS Score
9.1
FIRST EPSS
100.0%
Observed Hosts
75,046
Published
2024-07-01
Remediation Guidance
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.
Top Exposed Countries
- US343
- CN243
- DE164
- KR91
- JP86
- FR72
- NL67
- IN63
Top Exposed Ports
- 443 / tcp923
- 80 / tcp860
- 88 / tcp56
- 8080 / tcp36
- 8000 / tcp26
- 22 / tcp23
- 8443 / tcp22
- 21 / tcp21
Observed Software
- Apache httpd1,817
- Remote Desktop Protocol7
- Nextcloud6
- OpenSSH5
- ownCloud4
- ProFTPD3