| 标题 | Tenda CH22 V1.0.0.1 Command Injection |
|---|
| 描述 | The Tenda CH22 V1.0.0.1 firmware has a command injection vulnerability in the formeditFileName function. The src variable receives the editNameMit parameter from a POST request and is later passed to the strcpy function. In this function, the src variable is passed as the s parameter.
The s parameter is used in a chain of strchr() calls to locate delimiter characters ('*'): v12 = strchr(s, 42); and v11 = strchr(v12 + 1, 42); . The content following the second '*' (i.e., v11 + 1) is then copied into the v7 buffer via strcpy(v7, v11 + 1);.
However, since the Since user can control the input of src, the statemeant doSystemCmd("/usr/sbin/EditDiskDir %s edit '%s' '%s' ", dest, v8, v7); can cause a command injection. |
|---|
| 来源 | ⚠️ https://candle-throne-f75.notion.site/Tenda-CH22-formeditFileName-396df0aa1185804c9dcff01778515d32 |
|---|
| 用户 | ysnysnysn (UID 86177) |
|---|
| 提交 | 2026-07-07 04時01分 (2 月前) |
|---|
| 管理 | 2026-08-22 13時03分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 394303 [Tenda CH22 1.0.0.1 /goform/editFileName formeditFileName editNameMit 权限提升] |
|---|
| 积分 | 17 |
|---|