Submit #881838: Tenda CH22 V1.0.0.1 Command Injectioninfo

TitleTenda CH22 V1.0.0.1 Command Injection
DescriptionThe 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.
Source⚠️ https://candle-throne-f75.notion.site/Tenda-CH22-formeditFileName-396df0aa1185804c9dcff01778515d32
User
 ysnysnysn (UID 86177)
Submission07/07/2026 04:01 (2 months ago)
Moderation08/22/2026 13:03 (2 months later)
StatusAccepted
VulDB entry394303 [Tenda CH22 1.0.0.1 /goform/editFileName formeditFileName editNameMit command injection]
Points17

Want to stay up to date on a daily basis?

Enable the mail alert feature now!