| 标题 | Totolink A3300R 17.0.0cu.557_b20221024 Command Injection |
|---|
| 描述 | The vulnerability exists within the router's shttpdweb service. It allows a remote attacker to execute arbitrary operating system commands on the target device by sending a specially crafted network request, which can lead to a complete device compromise. The overall vulnerability trigger flow is illustrated in the provided diagram: .
The technical root cause is the unsafe handling of user-supplied input. The detailed exploit chain is as follows:
1.Malicious Input Entry Point: The attack is initiated when a user-controlled parameter named "vlanPriLan3" is processed. The program reads this parameter's value within the sub_423718 function .
2.Unsafe Command Construction: The value of the "vlanPriLan3" parameter is then directly inserted into a command string (v11) using the snprintffunction without proper sanitization .
3.Arbitrary Command Execution: This constructed command string is passed to the CsteSystem function, where it is ultimately executed by the execv() system call. |
|---|
| 来源 | ⚠️ https://github.com/LvHongW/Vuln-of-totolink_A3300R/tree/main/A3300R_vlanPriLan3_cmd_inject |
|---|
| 用户 | LvHW (UID 96399) |
|---|
| 提交 | 2026-03-13 03時53分 (19 日前) |
|---|
| 管理 | 2026-03-30 20時53分 (18 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 354246 [Totolink A3300R 17.0.0cu.557_b20221024 /cgi-bin/cstecgi.cgi setIptvCfg vlanPriLan3 权限提升] |
|---|
| 积分 | 20 |
|---|