CVE-2021-36260 Hikvision Improper Input Validation
Attackers can execute arbitrary commands on Hikvision devices via the web server due to insufficient input validation.
- Exploited in the wild
- Since 10 Jan 2022
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-36260?
CVE-2021-36260 is a critical command injection vulnerability in n/a, published on 22 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A command injection vulnerability in the web server of some Hikvision product. Due to the insufficient input validation, attacker can exploit the vulnerability to launch a command injection attack by sending some messages with malicious commands.
Weakness: CWE-78
Which versions are affected by CVE-2021-36260?
It affects 256 products.
Products include Hikvision Ds-2cd2021g1-I\(w\) Firmware, Hikvision Ds-2cd2023g2-I\(u\) Firmware, Hikvision Ds-2cd2026g2-Iu\/Sl Firmware, Hikvision Ds-2cd2027g2-L\(u\) Firmware, Hikvision Ds-2cd2027g2-Lu\/Sl Firmware, Hikvision Ds-2cd2043g2-I\(u\) Firmware and 250 more.
How do I fix CVE-2021-36260?
No fix has been published for CVE-2021-36260 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 24 Jan 2022.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-36260 being exploited?
Yes. Attackers have exploited CVE-2021-36260 in the wild since at least 10 Jan 2022.
Public exploit code: 1 Metasploit module, 1 Exploit-DB entry, 1 Nuclei template and 14 proofs of concept on GitHub.
Sources
Also known as GHSA-v276-9v2g-hx55.