CVE-2020-21992 Command injection in n/a

High 8.8 Published Updated

Authenticated attackers can execute arbitrary system commands as root via unsanitized input in the SmartLiving web interface.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-21992?

CVE-2020-21992 is a high-severity command injection vulnerability in n/a, published on 29 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Inim Electronics SmartLiving SmartLAN/G/SI <=6.x suffers from an authenticated remote command injection vulnerability. The issue exist due to the 'par' POST parameter not being sanitized when called with the 'testemail' module through web.cgi binary. The vulnerable CGI binary (ELF 32-bit LSB executable, ARM) is calling the 'sh' executable via the system() function to issue a command using the mailx service and its vulnerable string format parameter allowing for OS command injection with root privileges. An attacker can remotely execute system commands as the root user using default credentials and bypass access controls in place.

Weakness: CWE-78

Which versions are affected by CVE-2020-21992?

It affects 6 products.

Products include Inim Smartliving 10100l Firmware, Inim Smartliving 10100lg3 Firmware, Inim Smartliving 1050 Firmware, Inim Smartliving 1050g3 Firmware, Inim Smartliving 505 Firmware, Inim Smartliving 515 Firmware.

How do I fix CVE-2020-21992?

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

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

Sources

Also known as GHSA-35c4-jff8-4jgv.

Is CVE-2020-21992 in your software?

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

Check your SBOMs for free