CVE-2021-45986 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on Tenda G1 and G3 routers via the usbOrdinaryUserName parameter in the USB share configuration function.

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-45986?

CVE-2021-45986 is a critical command injection vulnerability in n/a, published on 4 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered to contain a command injection vulnerability in the function formSetUSBShareInfo. This vulnerability allows attackers to execute arbitrary commands via the usbOrdinaryUserName parameter.

Weakness: CWE-78

Which versions are affected by CVE-2021-45986?

It affects 2 products.

Products include Tendacn G1 Firmware, Tendacn G3 Firmware.

How do I fix CVE-2021-45986?

No fix has been published for CVE-2021-45986 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-45986 being exploited?

There is no known exploitation of CVE-2021-45986 in the wild and no public exploit code.

Sources

Also known as GHSA-wg58-6xwq-6qg8.

Is CVE-2021-45986 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free