| 标题 | Totolink A3300R 17.0.0cu.557_b20221024 Command Injection |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/LvHongW/Vuln-of-totolink_A3300R/tree/main/A3300R_rtLogServer_cmd_inject |
|---|
| 用户 | LvHW (UID 96399) |
|---|
| 提交 | 2026-03-13 03時45分 (21 日前) |
|---|
| 管理 | 2026-03-30 20時53分 (18 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 354244 [Totolink A3300R 17.0.0cu.557_b20221024 /cgi-bin/cstecgi.cgi setSyslogCfg provided 权限提升] |
|---|
| 积分 | 20 |
|---|