关联漏洞
标题:
Apache HTTP Server 安全漏洞
(CVE-2024-38475)
描述:Apache HTTP Server是美国阿帕奇(Apache)基金会的一款开源网页服务器。该服务器具有快速、可靠且可通过简单的API进行扩充的特点。 Apache HTTP Server 2.4.59及之前版本存在安全漏洞,该漏洞源于输出转义不当,允许攻击者将URL映射无法通过任何URL直接访问的文件系统位置,从而导致代码执行或源代码泄露。
描述
exploit CVE-2024-38475(mod_rewrite weakness with filesystem path matching)
介绍
# CVE-2024-38475
exploit CVE-2024-38475(mod_rewrite weakness with filesystem path matching)
This repository contains a Python script for testing web server vulnerabilities, specifically targeting Apache servers. The script checks for potential issues (mod_rewrite weakness with filesystem path matching) to exposed source code using wordlists for directories and files and applies various payloads.
Usage:
To run the script, use the following command:
```bash
python3 script.py --webroots webroots.txt --url 127.0.0.1 --schema http --directory_wordlist raft-medium-directories.txt --file_wordlist raft-medium-files.txt
```
Inspired by:
1. https://github.com/mrmtwoj/apache-vulnerability-testing
2. https://github.com/p0in7s/CVE-2024-38475
文件快照
[4.0K] /data/pocs/99420ea9090a557d9dcb3c20189948840c19d105
├── [ 744] README.md
└── [2.4K] script.py
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。