| Title | totolink totolink X5000R V9.1.0cu.2300_B20230112 command injection |
|---|
| Description | This vulnerability is a Remote Code Execution (RCE) that allows attackers to make arbitrary command execution
The vulnerability is located in the function `sub_411AB8` within `cstecgi.cgi`, also known as `setStaticDhcpConfig`.
The function uses `Uci_Set_Str`, which passes the parameter `enable` as the fourth argument. In `libcscommon.so`,it can be observed that `Uci_Set_Str` calls `snprintf` to format our `param_4` into the string `uci -c %s set ....` and passes the string to the `CsteSystem` function,which will eventually be called by `execv`.
therefore , by controlling parameter `addEffect` and `enable` ,an arbitrary command execution can be made |
|---|
| Source | ⚠️ https://github.com/OraclePi/repo/blob/main/totolink%20X5000R/X5000R%20AX1800%20V9.1.0cu.2300_B20230112%20rce.md |
|---|
| User | oraclepi (UID 52175) |
|---|
| Submission | 11/28/2023 10:19 (3 years ago) |
|---|
| Moderation | 12/08/2023 10:10 (10 days later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 247247 [Totolink X5000R 9.1.0cu.2300_B20230112 /cgi-bin/cstecgi.cgi os command injection] |
|---|
| Points | 0 |
|---|