| Title | Totolink A3300R 17.0.0cu.557_b20221024 Command Injection |
|---|
| Description | 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. |
|---|
| Source | ⚠️ https://github.com/LvHongW/Vuln-of-totolink_A3300R/tree/main/A3300R_rtLogServer_cmd_inject |
|---|
| User | LvHW (UID 96399) |
|---|
| Submission | 03/13/2026 03:45 (19 days ago) |
|---|
| Moderation | 03/30/2026 20:53 (18 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 354244 [Totolink A3300R 17.0.0cu.557_b20221024 /cgi-bin/cstecgi.cgi setSyslogCfg provided command injection] |
|---|
| Points | 20 |
|---|