VDB
ALPINE-CVE-2024-38475
ALPINE-CVE-2024-38475
PUBLISHED
CVSS 9.100000381469727 CRITICAL
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.
Risk Scores
CVSS 3.1
9.100000381469727
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.19 | apache2 | 2.4.20-r0, 2.4.23-r0, 2.4.20-r2 |
| Alpine:v3.17 | apache2 | 2.2.22-r0, 2.2.21-r3, 2.2.21-r2 |
| Alpine:v3.20 | apache2 | 0, 2.2.16-r0, 2.2.16-r2 |
| Alpine:v3.23 | apache2 | 2.4.9-r1, 2.4.9-r0, 2.4.7-r0 |
| Alpine:v3.18 | apache2 | 2.4.9-r1, 0, 2.2.16-r0 |
| Alpine:v3.22 | apache2 | 2.4.48-r2, 2.4.49-r1, 2.4.50-r0 |
| Alpine:v3.21 | apache2 | 2.4.48-r2, 0, 2.2.16-r0 |
Exploit Intelligence
- CVE-2024-38475 exploitation & scanning tool with Mullvad VPN rotation (github-poc-repo)
- CVE-2024-38475 exploitation & scanning tool with Mullvad VPN rotation (github-poc)
- Apache HTTP Server Vulnerability Testing Tool | PoC for CVE-2024-38472 , CVE-2024-39573 , CVE-2024-38477 , CVE-2024-38476 , CVE-2024-38475 , CVE-2024-38474 , CVE-2024-38473 , CVE-2023-38709 (github-poc-repo)
- CVE-2024-38475 Scanner using FFUF + Seclists (github-poc-repo)
- CVE-2024-38475 Scanner using FFUF + Seclists (github-poc)
- abrewer251/CVE-2024-38475_SonicBoom_Apache_URL_Traversal_PoC (github-poc)
- exploit CVE-2024-38475(mod_rewrite weakness with filesystem path matching) (github-poc)
- p0in7s/CVE-2024-38475 (github-poc)
- agent_group.yaml (github-poc)
- cve_db.json (github-poc)
…and 5 more exploits
Timeline
- Jul 1, 2024 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch