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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Hikvision IP Camera Unauthenticated Command Injection
exploit/linux/http/hikvision_cve_2021_36260_blind
Exploit-DB 1
- Hikvision Web Server Build 210702 - Command Injection EDB-50441 · webapps · Oct 25, 2021
GitHub 14 repositories · most starred shown
-
tamim1089/HikvisionExploiter ★ 400 · Jul 5, 2024
HikvisionExploiter is a Python-based utility designed to automate exploitation and directory accessibility checks on Hikvision network cameras exploiting the Web interface Version 3.1.3.150324 + CVE-…
-
Aiminsun/CVE-2021-36260 ★ 309 · Oct 27, 2021
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 s…
-
Cuerz/CVE-2021-36260 ★ 173 · Aug 3, 2022
海康威视RCE漏洞 批量检测和利用工具
-
TaroballzChen/CVE-2021-36260-metasploit ★ 20 · Nov 3, 2021
the metasploit script(POC) about CVE-2021-36260
-
rabbitsafe/CVE-2021-36260 ★ 17 · Oct 18, 2021
CVE-2021-36260
-
sylhetyhackvenger/HIKRAVEN ★ 11 · Jul 17, 2026
HIKRAVEN - Advanced Hikvision Security Assessment Platform for professional penetration testing. Detects 12+ CVEs including CVE-2021-36260 (CRITICAL), tests default credentials, performs network disc…
-
tuntin9x/CheckHKRCE ★ 7 · Dec 13, 2021
CVE-2021-36260
-
yanxinwu946/hikvision-unauthenticated-rce-cve-2021-36260 ★ 4 · Jan 21, 2026
海康威视RCE漏洞 批量检测和利用工具
-
aengussong/hikvision_probe ★ 3 · Nov 26, 2024
Identify hikvision ip and probe for cve-s (CVE-2017-7921, CVE-2022-28171, CVE-2021-36260)
-
NanoTrash/hikvision_brute ★ 2 · Mar 7, 2024
Brute Hikvision CAMS with CVE-2021-36260 Exploit
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Hikvision IP camera/NVR - Remote Command Execution http/cves/2021/CVE-2021-36260.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://www.hikvision.com/en/support/cybersecurity/security-advisory/security-notification-command-injection-vulnerability-in-some-hikvision-products/
- http://packetstormsecurity.com/files/164603/Hikvision-Web-Server-Build-210702-Command-Injection.html
- http://packetstormsecurity.com/files/166167/Hikvision-IP-Camera-Unauthenticated-Command-Injection.html
- https://www.cyfirma.com/wp-content/uploads/2022/08/HikvisionSurveillanceCamerasVulnerabilities.pdf
- https://therecord.media/experts-warn-of-widespread-exploitation-involving-hikvision-cameras/