| 标题 | Totolink A3300R 17.0.0cu.557_b20221024 Command Injection |
|---|
| 描述 | The vulnerability resides in the router's shttpdweb service. A remote attacker can exploit this flaw to execute arbitrary operating system commands on the device by sending a specially crafted HTTP request, which could lead to a complete compromise. The overall vulnerability trigger flow is illustrated in the provided diagram: .
The technical root cause is the unsafe handling of user input within the firmware's code. The detailed exploit chain is as follows:
1.Malicious Input Entry Point: The attack begins when a user-controlled parameter named "rxRate" is processed. The function sub_41811C reads the value provided by the attacker in the request, as shown in the code screenshot: .
2.Unsafe Command Construction: The value of the "rxRate" parameter is then directly inserted into a command buffer (v11) using the snprintffunction without proper sanitization .
3.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_rxRate_cmd_inject |
|---|
| 用户 | LvHW (UID 96399) |
|---|
| 提交 | 2026-03-13 03時48分 (19 日前) |
|---|
| 管理 | 2026-03-30 20時53分 (18 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 354245 [Totolink A3300R 17.0.0cu.557_b20221024 /cgi-bin/cstecgi.cgi setWiFiBasicCfg rxRate 权限提升] |
|---|
| 积分 | 20 |
|---|