CVE-2021-40412 Command injection in n/a

Critical 9.1 Published Updated

Attackers can execute arbitrary OS commands via the SetDevName API due to improper validation of the device name parameter.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-40412?

CVE-2021-40412 is a critical command injection vulnerability in Reolink Rlc-410w Firmware, published on 28 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An OScommand injection vulnerability exists in the device network settings functionality of reolink RLC-410W v3.0.0.136_20121102. At [8] the devname variable, that has the value of the name parameter provided through the SetDevName API, is not validated properly. This would lead to an OS command injection.

Weakness: CWE-78

Which versions are affected by CVE-2021-40412?

It affects 1 product.

Products include Reolink Rlc-410w Firmware.

How do I fix CVE-2021-40412?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-40412 exists.

All Reolink Rlc-410w Firmware vulnerabilities

Sources

Also known as GHSA-8hcx-pw9g-w24x.

Is CVE-2021-40412 in your software?

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

Check your SBOMs for free