CVE-2021-40407 Reolink RLC-410W IP Camera OS Command Injection Vulnerability
An attacker can execute arbitrary OS commands on Reolink RLC-410W cameras via unvalidated input in the DDNS settings API.
- Exploited in the wild
- Since 18 Dec 2024
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-40407?
CVE-2021-40407 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->domain variable, that has the value of the domain parameter provided through the SetDdns API, is not validated properly. This would lead to an OS command injection. An attacker can send an HTTP request to trigger this vulnerability.
Weakness: CWE-78
Which versions are affected by CVE-2021-40407?
It affects 1 product.
Products include Reolink Rlc-410w Firmware.
How do I fix CVE-2021-40407?
No fix has been published for CVE-2021-40407 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 8 Jan 2025.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-40407 being exploited?
Yes. Attackers have exploited CVE-2021-40407 in the wild since at least 18 Dec 2024.
Other vulnerabilities in Reolink Rlc-410w Firmware
Sources
Also known as GHSA-3w42-xvwv-qc2q.