关联漏洞
标题:
Apache Struts 安全漏洞
(CVE-2024-53677)
描述:Apache Struts是美国阿帕奇(Apache)基金会的一个开源项目,是一套用于创建企业级Java Web应用的开源MVC框架,主要提供两个版本框架产品,Struts 1和Struts 2。 Apache Struts 2.0.0版本至6.4.0之前版本存在安全漏洞,该漏洞源于文件上传逻辑缺陷。
介绍
# CVE-2024-53677: Apache Struts path traversal to RCE vulnerability
A critical security vulnerability, identified as CVE-2024-53677 was found in Apache Struts, allowing attackers to manipulate file upload parameters that can potentially lead to unauthorized path traversal and remote code execution (RCE).
## Usage
Install PIP packages:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
Then, run the exploit script with for example:
```bash
python3 exploit.py --url http://strutted.htb/upload.action
```
Note that the exploit needs a full URL where the file upload functionality is implemented.
## Disclaimer
This exploit script has been created solely for the purposes of research and for the development of effective defensive techniques. It is not intended to be used for any malicious or unauthorized activities. The author and the owner of the script disclaim any responsibility or liability for any misuse or damage caused by this software. Users are urged to use this software responsibly and only in accordance with applicable laws and regulations. Use responsibly.
文件快照
[4.0K] /data/pocs/17922a0f3848eb173b90fc0ef4f5e0dec22a5e3f
├── [4.0K] exploit
│ ├── [4.3K] exploit.py
│ ├── [1.2K] manual-exploit.md
│ ├── [ 963] requirements.txt
│ ├── [ 528] webshell.jsp
│ └── [ 723] webshell.war
├── [238K] manual-exploit1.png
├── [ 71K] manual-exploit2.png
├── [1.4K] manual-exploit.md
└── [1.1K] README.md
1 directory, 9 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。