{"id":"CVE-2021-36260","published":"2021-09-22T13:15:07Z","modified":"2026-06-17T03:58:34Z","title":"Hikvision Improper Input Validation","vendor":"Hikvision","product":"Security cameras web server","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"A command injection flaw in the web server component of certain Hikvision security camera products is caused by insufficient input validation. An attacker who can reach the device over the network, without needing credentials or any user interaction, can send crafted messages containing malicious commands that the server executes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T13:43:55Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99869,"percentile":0.99963,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2022-01-10","dueDate":"2022-01-24","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2021-36260","provenance":"source"},"vulncheckKev":{"dateAdded":"2021-12-06","exploitedFirstSeen":"2021-12-06","ransomware":false,"evidence":[{"url":"https://www.fortinet.com/blog/threat-research/mirai-based-botnet-moobot-targets-hikvision-vulnerability","date":"2021-12-06"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-01-10"},{"url":"https://www.cisa.gov/uscert/ncas/alerts/aa22-279a","date":"2022-10-06"},{"url":"https://www.fortinet.com/blog/threat-research/zerobot-new-go-based-botnet-campaign-targets-multiple-vulnerabilities","date":"2022-12-06"},{"url":"https://blog.netlab.360.com/new-ddos-botnet-wszeor/","date":"2022-12-07"},{"url":"https://t.me/hacking_Attack/79492","date":"2022-12-08"},{"url":"https://www.microsoft.com/en-us/security/blog/2022/12/21/microsoft-research-uncovers-new-zerobot-capabilities/","date":"2022-12-21"},{"url":"https://fortiguard.fortinet.com/threat-signal-report/4926/new-zerobot-variant-exploits-additional-vulnerabilities-for-propagation","date":"2022-12-22"},{"url":"https://cujo.com/blog/the-2022-2023-iot-botnet-report-vulnerabilities-targeted/","date":"2023-04-27"},{"url":"https://cujo.com/the-2022-2023-iot-botnet-report-vulnerabilities-targeted/","date":"2023-04-27"}],"evidenceTotal":949,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"http://packetstormsecurity.com/files/164603/Hikvision-Web-Server-Build-210702-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/166167/Hikvision-IP-Camera-Unauthenticated-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://therecord.media/experts-warn-of-widespread-exploitation-involving-hikvision-cameras/","tags":["Third Party Advisory"]},{"url":"https://www.cyfirma.com/wp-content/uploads/2022/08/HikvisionSurveillanceCamerasVulnerabilities.pdf","tags":["Broken Link","Exploit","Third Party Advisory"]},{"url":"https://www.hikvision.com/en/support/cybersecurity/security-advisory/security-notification-command-injection-vulnerability-in-some-hikvision-products/","tags":["Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/164603/Hikvision-Web-Server-Build-210702-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/166167/Hikvision-IP-Camera-Unauthenticated-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://therecord.media/experts-warn-of-widespread-exploitation-involving-hikvision-cameras/","tags":["Third Party Advisory"]},{"url":"https://www.cyfirma.com/wp-content/uploads/2022/08/HikvisionSurveillanceCamerasVulnerabilities.pdf","tags":["Broken Link","Exploit","Third Party Advisory"]},{"url":"https://www.hikvision.com/en/support/cybersecurity/security-advisory/security-notification-command-injection-vulnerability-in-some-hikvision-products/","tags":["Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-36260","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Exploited via network-facing web server","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"A command injection vulnerability in the web server of some Hikvision product","start":0,"end":77}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Injected commands execute on the device","mappingType":"primary_impact","evidence":[{"from":"description","quote":"launch a command injection attack by sending some messages with malicious commands","start":163,"end":245}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[{"id":"SRC-b3ea000916d84bc1c41a","title":"Microsoft research uncovers new Zerobot capabilities","publisher":"microsoft.com","url":"http://www.microsoft.com/en-us/security/blog/2022/12/21/microsoft-research-uncovers-new-zerobot-capabilities/","date":null,"mentions":[{"quote":"CVE-2021-36260","start":12120,"end":12134},{"quote":"CVE-2021-36260","start":13314,"end":13328}]}],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-22880","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-22880","exploited":true,"exploitedSince":"2022-01-10","provenance":"source"},"exploits":[{"id":50441,"url":"https://www.exploit-db.com/exploits/50441","title":"Hikvision Web Server Build 210702 - Command Injection","type":"webapps","platform":"hardware","date":"2021-10-25","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-10-25"},"pocGithub":{"count":13,"skipped":1,"earliest":"2021-10-18","earliestUrl":"https://github.com/rabbitsafe/CVE-2021-36260","repos":[{"name":"tamim1089/HikvisionExploiter","url":"https://github.com/tamim1089/HikvisionExploiter","stars":392,"created":"2024-07-05"},{"name":"Aiminsun/CVE-2021-36260","url":"https://github.com/Aiminsun/CVE-2021-36260","stars":306,"created":"2021-10-27"},{"name":"Cuerz/CVE-2021-36260","url":"https://github.com/Cuerz/CVE-2021-36260","stars":172,"created":"2022-08-03"},{"name":"TaroballzChen/CVE-2021-36260-metasploit","url":"https://github.com/TaroballzChen/CVE-2021-36260-metasploit","stars":20,"created":"2021-11-03"},{"name":"rabbitsafe/CVE-2021-36260","url":"https://github.com/rabbitsafe/CVE-2021-36260","stars":17,"created":"2021-10-18"}]},"metasploit":[{"name":"Hikvision IP Camera Unauthenticated Command Injection","module":"exploit/linux/http/hikvision_cve_2021_36260_blind","type":"exploit","disclosureDate":"2021-09-18","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/hikvision_cve_2021_36260_blind.rb"}],"nuclei":[{"id":"CVE-2021-36260","name":"Hikvision IP camera/NVR - Remote Command Execution","severity":"critical","path":"http/cves/2021/CVE-2021-36260.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-36260.yaml"}],"first":{"date":"2021-09-18","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/hikvision_cve_2021_36260_blind.rb"},"provenance":"source"},"exploitRefs":["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"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2021-09-18","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2021-10-18, Exploit-DB 2021-10-25","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/hikvision_cve_2021_36260_blind.rb","provenance":"source"},{"date":"2021-09-22","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36260","provenance":"source"},{"date":"2021-12-06","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.fortinet.com/blog/threat-research/mirai-based-botnet-moobot-targets-hikvision-vulnerability","provenance":"source"},{"date":"2022-01-10","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-01-10","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-22880","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":110},"priority":{"score":73.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1790 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.99,"detail":"percentile 0.9996"},{"name":"Named in threat reports","points":3.87,"detail":"1 report"},{"name":"Public exploit code","points":5.0,"detail":"3 NVD references tagged Exploit; 1 Exploit-DB entry; 13 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}