| Titel | Totolink A3300R 17.0.0cu.557_b20221024 Command Injection |
|---|
| Beschreibung | The vulnerability resides in the router's shttpdweb service. A remote, unauthenticated attacker can exploit this flaw to execute arbitrary operating system commands on the device by sending a specially crafted HTTP request, potentially leading to a complete compromise.
The technical root cause is the unsafe handling of user input within the firmware's code. The exploit chain is visually summarized in the provided vulnerability trigger flow diagram:
Malicious Input Entry Point: The attack begins when a user-controlled parameter named "rtLogServer" is processed. The function sub_423718reads the value provided by the attacker in the request.
Parameter Passing: This value of "rtLogServer" is then passed to the Uci_Set_Strfunction for further processing.
Unsafe Command Construction: Crucially, the value of the rtLogServerparameter is directly inserted into a command buffer (v11) using the snprintffunction without proper sanitization or validation.
Arbitrary Command Execution: This constructed command string is subsequently passed to the CsteSystem function, where it is executed via the execv() system call. |
|---|
| Quelle | ⚠️ https://github.com/LvHongW/Vuln-of-totolink_A3300R/tree/main/A3300R_rtLogServer_cmd_inject |
|---|
| Benutzer | LvHW (UID 96399) |
|---|
| Einreichung | 13.03.2026 03:45 (vor 19 Tagen) |
|---|
| Moderieren | 30.03.2026 20:53 (18 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 354244 [Totolink A3300R 17.0.0cu.557_b20221024 /cgi-bin/cstecgi.cgi setSyslogCfg provided erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|