| Título | Totolink N300RHv4 V6.1c.1353_B20190305 OS Command Injection |
|---|
| Descripción | A 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. |
|---|
| Fuente | ⚠️ https://github.com/JXBbozaihuang/vuln-research/issues/2 |
|---|
| Usuario | bozaihuang (UID 95768) |
|---|
| Sumisión | 2026-02-23 04:06 (hace 2 meses) |
|---|
| Moderación | 2026-03-07 09:40 (12 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 349642 [Totolink N300RH 6..1c.1353_B20190305 CGI /cgi-bin/cstecgi.cgi setWiFiWpsConfig escalada de privilegios] |
|---|
| Puntos | 20 |
|---|