CVE-2024-38475
published 2024-07-01CVE-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…
critical9.1CVSS 3.1
AVNACLPRNUINSUCHIHAN
KEVEXPLOIT
CISA Known Exploited Vulnerabilitydue 2025-05-22
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | http_server | >= 2.4.0 < 2.4.60 | 2.4.60 |
| apache_software_foundation | apache_http_server | 2.4.0 – 2.4.59 | — |
| debian | apache2 | < apache2 2.4.61-1~deb12u1 (bookworm) | apache2 2.4.61-1~deb12u1 (bookworm) |
| paloalto | pan-os | — | — |
| sonicwall | sma_200_firmware | < 10.2.1.14-75sv | 10.2.1.14-75sv |
| sonicwall | sma_210_firmware | < 10.2.1.14-75sv | 10.2.1.14-75sv |
| sonicwall | sma_400_firmware | < 10.2.1.14-75sv | 10.2.1.14-75sv |
| sonicwall | sma_410_firmware | < 10.2.1.14-75sv | 10.2.1.14-75sv |
| sonicwall | sma_500v_firmware | < 10.2.1.14-75sv | 10.2.1.14-75sv |
CVSS provenance
nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
osv9.8CRITICAL
vulncheck9.1CRITICAL
cisa9.1CRITICAL