
Command Injection in Tenda AC20 16.03.08.12 (/goform/telnet)
Author: Byte Reaper
This exploit targets CVE-2025-9090, a command injection vulnerability in the Tenda AC20 (v16.03.08.12) router.
The flaw is in the endpoint /goform/telnet, which can be triggered remotely.
When accessed, it starts the Telnet service on the device, opening ports 23/2323 for remote interaction.
The program sends a request to the vulnerable endpoint, looks for the response string "load telnetd success", and then tries to connect to the Telnet service to confirm successful exploitation.
Compile using gcc:
gcc exploit.c argparse.c -o CVE-2025-9090 -lcurl
-h, --help show this help message and exit
-i, --ip Enter Target IP
-c, --cookies Enter File cookies
-v, --verbose Verbose Mode
-f, --loop= Number request
./CVE-2025-9090 -i <IP>
- verbose mode :
./CVE-2025-9090 -i <IP> -v
- number request :
./CVE-2025-9090 -i <IP> -v -f 5 (5 POST endpoint)
- cookies file :
./CVE-2025-9090 -i <IP> -v -f 5 -c [file name]
MIT