CVE-2021-27691 Command injection in n/a
Remote attackers can execute arbitrary OS commands on Tenda G0, G1, and G3 routers via a crafted request due to unsafe system function usage.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-27691?
CVE-2021-27691 is a critical command injection vulnerability in n/a, published on 15 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Command Injection in Tenda G0 routers with firmware versions v15.11.0.6(9039)_CN and v15.11.0.5(5876)_CN , and Tenda G1 and G3 routers with firmware versions v15.11.0.17(9502)_CN or v15.11.0.16(9024)_CN allows remote attackers to execute arbitrary OS commands via a crafted action/setDebugCfg request. This occurs because the "formSetDebugCfg" function executes glibc's system function with untrusted input.
Which versions are affected by CVE-2021-27691?
It affects 3 products.
Products include Tendacn G0 Firmware, Tendacn G1 Firmware, Tendacn G3 Firmware.
How do I fix CVE-2021-27691?
No fix has been published for CVE-2021-27691 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-27691 being exploited?
There is no known exploitation of CVE-2021-27691 in the wild and no public exploit code.
Sources
Also known as GHSA-rhp8-jw3x-rc64.