CVE-2021-40408 Command injection in n/a
Attackers can execute arbitrary OS commands via the SetDdns API due to improper validation of the username parameter in Reolink cameras.
- 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-40408?
CVE-2021-40408 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 OS command injection vulnerability exists in the device network settings functionality of reolink RLC-410W v3.0.0.136_20121102. At [1] or [2], based on DDNS type, the ddns->username variable, that has the value of the userName parameter provided through the SetDdns API, is not validated properly. This would lead to an OS command injection.
Weakness: CWE-78
Which versions are affected by CVE-2021-40408?
It affects 1 product.
Products include Reolink Rlc-410w Firmware.
How do I fix CVE-2021-40408?
No fix has been published for CVE-2021-40408 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-40408 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-40408 exists.
Other vulnerabilities in Reolink Rlc-410w Firmware
Sources
Also known as GHSA-jvph-7chh-mvh9.