cve/2024/CVE-2024-38475.md
2025-09-29 16:08:36 +00:00

33 lines
1.9 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### [CVE-2024-38475](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-38475)
![](https://img.shields.io/static/v1?label=Product&message=Apache%20HTTP%20Server&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=2.4.0%3C%3D%202.4.59%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-116%20Improper%20Encoding%20or%20Escaping%20of%20Output&color=brighgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/GhostTroops/TOP
- https://github.com/NeoOniX/5ATTACK
- https://github.com/Ostorlab/KEV
- https://github.com/Y09a514/Test-Apache-Vulnerability
- https://github.com/abrewer251/CVE-2024-38475_SonicBoom_Apache_URL_Traversal_PoC
- https://github.com/dusbot/cpe2cve
- https://github.com/krlabs/apache-vulnerabilities
- https://github.com/mrmtwoj/apache-vulnerability-testing
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/opendr-io/causality
- https://github.com/p0in7s/CVE-2024-38475
- https://github.com/packetinside/CISA_BOT
- https://github.com/plzheheplztrying/cve_monitor
- https://github.com/soltanali0/CVE-2024-38475
- https://github.com/syaifulandy/CVE-2024-38475
- https://github.com/watchtowrlabs/watchTowr-vs-SonicWall-PreAuth-RCE-Chain