| Título | Tenda CH22 V1.0.0.1 Command Injection |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://candle-throne-f75.notion.site/Tenda-CH22-formeditFileName-396df0aa1185804c9dcff01778515d32 |
|---|
| Utilizador | ysnysnysn (UID 86177) |
|---|
| Submissão | 07/07/2026 04h01 (há 2 meses) |
|---|
| Moderação | 22/08/2026 13h03 (2 months later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 394303 [Tenda CH22 1.0.0.1 /goform/editFileName formeditFileName editNameMit Elevação de Privilégios] |
|---|
| Pontos | 17 |
|---|