SecurityContext

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

IdName
CWE-116Improper Encoding or Escaping of Output

Known exploited entries

ListAdded dateDue dateRansomware use
cisa2025-05-012025-05-22no
vulncheck2025-04-29—no

Nuclei templates

IdUrl
CVE-2024-38475https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38475.yaml

Hackerone

  • Reports: 6
  • Rank: 2507

Public exploits

UrlSourceAdded date
https://github.com/akabul0us/apache_pocpoc-in-github2026-10-17
https://github.com/Nyakki-Labs-0x420/Myesvepoc-in-github2026-05-31
https://github.com/Nyakki-Labs-0x420/Myesve.gitvulncheck-xdb2026-05-31
https://github.com/syaifulandy/CVE-2024-38475poc-in-github2025-05-09
https://github.com/abrewer251/CVE-2024-38475_SonicBoom_Apache_URL_Traversal_PoCpoc-in-github2025-05-07

References

UrlSourceTags
https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cfnvdPatch
https://httpd.apache.org/security/vulnerabilities_24.htmlnvdVendor Advisory
https://security.netapp.com/advisory/ntap-20240712-0001/nvdThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/07/01/8nvdThird Party Advisory
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018nvdThird Party Advisory
https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227nvdThird Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475nvdThird Party Advisory, US Government Resource
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38475.yamlnuclei_templateNuclei Template
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-11-19&host_type=src&vulnerability=cve-2024-38475vulncheckVulncheck Reported Exploitation
https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2024-38475&date=2026-11-17vulncheckVulncheck Reported Exploitation

Products

Same in every row:

  • Sources: nvd
ProductAffectedPlatform boundUrl
apache:http_server>= 2.4.0, < 2.4.60no/v1/products/apache/http_server
sonicwall:sma_210_firmware< 10.2.1.14-75svyes/v1/products/sonicwall/sma_210_firmware
sonicwall:sma_410_firmware< 10.2.1.14-75svyes/v1/products/sonicwall/sma_410_firmware
sonicwall:sma_500v_firmware< 10.2.1.14-75svyes/v1/products/sonicwall/sma_500v_firmware
sonicwall:sma_200_firmware< 10.2.1.14-75svyes/v1/products/sonicwall/sma_200_firmware
sonicwall:sma_400_firmware< 10.2.1.14-75svyes/v1/products/sonicwall/sma_400_firmware
netapp:ontap_9all versionsno/v1/products/netapp/ontap_9

Projects

RepositoryLink kindsIndexedUrl
apache/httpdcommit, fixyes/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

Nuclei template