CVE-2024-38475: Apache HTTP Server - Path Traversal
- Cve: CVE-2024-38475
- Name: Apache HTTP Server - Path Traversal
- 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.
- Impact: Attackers can access unintended filesystem locations, leading to code execution or source code disclosure.
- Remediation: Update to the latest version of Apache HTTP Server or apply security patches addressing mod_rewrite escaping issues.
- Vulnerability type: path_traversal
- Vulnerability impact: remote_code_execution, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.99957
- Epss percentile: 0.99975
- Assignee: [email protected]
- Published at: 2024-07-01T19:15:04Z
- Age in days: 875
- Modified at: 2026-06-17T07:40:21Z
- Patch available: yes
- Public exploits total: 11
- References total: 18
- Products total: 7
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-38475
- Nvd status: analyzed
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-116 | Improper Encoding or Escaping of Output |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| cisa | 2025-05-01 | 2025-05-22 | no |
| vulncheck | 2025-04-29 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2024-38475 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38475.yaml |
Hackerone
- Reports: 6
- Rank: 2507
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/akabul0us/apache_poc | poc-in-github | 2026-10-17 |
| https://github.com/Nyakki-Labs-0x420/Myesve | poc-in-github | 2026-05-31 |
| https://github.com/Nyakki-Labs-0x420/Myesve.git | vulncheck-xdb | 2026-05-31 |
| https://github.com/syaifulandy/CVE-2024-38475 | poc-in-github | 2025-05-09 |
| https://github.com/abrewer251/CVE-2024-38475_SonicBoom_Apache_URL_Traversal_PoC | poc-in-github | 2025-05-07 |
References
Products
Same in every row:
- Sources: nvd
| Product | Affected | Platform bound | Url |
|---|---|---|---|
| apache:http_server | >= 2.4.0, < 2.4.60 | no | /v1/products/apache/http_server |
| sonicwall:sma_210_firmware | < 10.2.1.14-75sv | yes | /v1/products/sonicwall/sma_210_firmware |
| sonicwall:sma_410_firmware | < 10.2.1.14-75sv | yes | /v1/products/sonicwall/sma_410_firmware |
| sonicwall:sma_500v_firmware | < 10.2.1.14-75sv | yes | /v1/products/sonicwall/sma_500v_firmware |
| sonicwall:sma_200_firmware | < 10.2.1.14-75sv | yes | /v1/products/sonicwall/sma_200_firmware |
| sonicwall:sma_400_firmware | < 10.2.1.14-75sv | yes | /v1/products/sonicwall/sma_400_firmware |
| netapp:ontap_9 | all versions | no | /v1/products/netapp/ontap_9 |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/httpd | commit, fix | yes | /v1/repositories/apache/httpd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited: yes
- Known exploited since: 2025-05-01
- Known exploited by: cisa, vulncheck
- Vulncheck known exploited since: 2025-04-29
- Public exploit: yes
- Public exploit count: 11
- Public exploit first date: 2024-08-18
- Remote: yes
- Hackerone reports: 6
- Exposed hosts: 14958120
- Checked, none or zero: exploitation seen, initial access, authentication required
- Not known: initial access since