关联漏洞
标题:
Zyxel NAS326和Zyxel NAS542 操作系统命令注入漏洞
(CVE-2024-29973)
描述:Zyxel NAS542和Zyxel NAS326都是中国合勤(Zyxel)公司的产品。Zyxel NAS542是一款NAS(网络附加存储)设备。Zyxel NAS326是一款云存储 NAS。 Zyxel NAS326 V5.21(AAZF.17)C0之前版本、NAS542 V5.21(ABAG.14)C0之前版本存在操作系统命令注入漏洞,该漏洞源于setCookie参数中存在命令注入漏洞,从而导致攻击者可通过HTTP POST请求来执行某些操作系统 (OS) 命令。
描述
POC for CVE-2024-29973
介绍
# CVE-2024-29973 PoC and Bulk Scanner
## Overview
This is a proof-of-concept (PoC) and bulk scanner for CVE-2024-29973: Command injection vulnerability in Zyxel NAS326 firmware versions before V5.21(AAZF.17)C0 and NAS542 firmware versions before V5.21(ABAG.14).
### Version 1.0.2
- Fixed the payload mechanism. Thanks to https://github.com/p0et08/ for mentioning this.

## How to Use
### Single Target Scan
To scan a single target:
```sh
python cve-2024-29973.py -u target
```
### Bulk Target Scan
To mass scan bulk targets IPs:
```sh
python cve-2024-29973.py -f targets.txt
```
## Installation
### Minimum Requirements
- Python 3.6 or higher
- `requests` library
### Installing The Script
```sh
git clone https://github.com/bigb0x/CVE-2024-29973.git; cd CVE-2024-29973
```
### Installing Required Packages
Install the required packages using pip:
```sh
pip install requests
```
## Author
POC was created by [M Ali](https://x.com/MohamedNab1l).
## License
This project is licensed under the MIT License.
## Disclaimer
This provided tool is for educational purposes only. I do not encourage, condone, or support unauthorized access to any system or network. Use this tool responsibly and only on systems you have explicit permission to test. Any actions and consequences resulting from misuse of this tool are your own responsibility.
## References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-29973
- https://outpost24.com/blog/zyxel-nas-critical-vulnerabilities/
文件快照
[4.0K] /data/pocs/efb724c72334c9f8765b86f92825319322ccb55c
├── [5.3K] CVE-2024-29973.py
├── [1.5K] README.md
└── [4.0K] screens
└── [ 48K] screen.jpg
1 directory, 3 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。