Submit #765681: Totolink N300RHv4 V6.1c.1353_B20190305 OS Command Injectioninfo

TitelTotolink N300RHv4 V6.1c.1353_B20190305 OS Command Injection
BeschreibungA pre‑authentication OS command injection vulnerability exists in the `setWiFiWpsConfig`​ functionality exposed via the web management interface (`/cgi-bin/cstecgi.cgi`) of the TOTOLINK N300RH V4 router. The CGI handler retrieves user‑controlled input from the HTTP parameter `PIN`​, embeds it directly into a shell command string using `sprintf`​, and executes it via `CsteSystem()` without any sanitization or escaping. As a result, a remote attacker with network access to the web interface can inject arbitrary shell commands and execute them with root privileges on the device, without authentication. This allows full compromise of the router and, potentially, further compromise of the attached network.
Quelle⚠️ https://github.com/JXBbozaihuang/vuln-research/issues/2
Benutzer
 bozaihuang (UID 95768)
Einreichung23.02.2026 04:06 (vor 2 Monaten)
Moderieren07.03.2026 09:40 (12 days later)
StatusAkzeptiert
VulDB Eintrag349642 [Totolink N300RH 6..1c.1353_B20190305 CGI /cgi-bin/cstecgi.cgi setWiFiWpsConfig erweiterte Rechte]
Punkte20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!