{"id":"CVE-2024-13985","published":"2025-08-27T21:23:37Z","modified":"2026-05-15T11:14:33Z","title":"Dahua EIMS capture_handle.action RCE","vendor":"Zhejiang Dahua Technology Co., Ltd.","product":"EIMS","tier":"core","eol":null,"affectedVersions":[{"vendor":"Zhejiang Dahua Technology Co., Ltd.","product":"EIMS","versions":["< 2240008"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-08-28T13:58:18.525817Z","from":"CISA ADP","provenance":"source"},"description":{"text":"A command injection vulnerability in Dahua EIMS versions prior to 2240008 allows unauthenticated remote attackers to execute arbitrary system commands via the capture_handle.action interface. The flaw stems from improper input validation in the captureCommand parameter, which is processed without sanitization or authentication. By sending crafted HTTP requests, attackers can inject OS-level commands that are executed on the server, leading to full system compromise. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-04-06 UTC.","provenance":"source","from":"CVE.org"},"summary":{"text":"A command injection flaw in the capture_handle.action interface of Dahua's EIMS product, in versions prior to 2240008, lets input in the captureCommand parameter reach the operating system unsanitized. An unauthenticated remote attacker with network access can exploit it by sending crafted HTTP requests, requiring no authentication, no user interaction, and no special configuration, to run arbitrary OS commands on the server and fully compromise it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:12:12Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.1487,"percentile":0.96776,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-04-06","exploitedFirstSeen":"2024-04-06","ransomware":false,"evidence":[{"url":"https://www.cve.org/cverecord?id=CVE-2024-13985","date":"2024-04-06"},{"url":"https://www.vulncheck.com/advisories/dahua-eims-rce","date":"2024-04-06"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-09-23&host_type=src&vulnerability=cve-2024-13985","date":"2025-09-23"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-09-25&host_type=src&vulnerability=cve-2024-13985","date":"2025-09-25"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-09-28&host_type=src&vulnerability=cve-2024-13985","date":"2025-09-28"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-09-30&host_type=src&vulnerability=cve-2024-13985","date":"2025-09-30"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-10-19&host_type=src&vulnerability=cve-2024-13985","date":"2025-10-19"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-10-20&host_type=src&vulnerability=cve-2024-13985","date":"2025-10-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-10-21&host_type=src&vulnerability=cve-2024-13985","date":"2025-10-21"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-10-22&host_type=src&vulnerability=cve-2024-13985","date":"2025-10-22"}],"evidenceTotal":173,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://support.dahuatech.com/bulletin/info?IsDpValue=APKncD%2FBd6zIq4O2BUpuhjg6hGbLYAQKuf5hnmPaK9M%3D","tags":["vendor-advisory"]},{"url":"https://cn-sec.com/archives/2554372.html","tags":["technical-description","exploit"]},{"url":"https://blog.csdn.net/weixin_43567873/article/details/136636198","tags":["technical-description","exploit"]},{"url":"https://github.com/ahisec/nuclei-tps/blob/main/http/vulnerabilities/dahua/dahua-eims-capture-handle-rce.yaml","tags":["technical-description","exploit"]},{"url":"https://s4e.io/tools/dahua-eims-remote-code-execution","tags":["third-party-advisory"]},{"url":"https://pentest-tools.com/vulnerabilities-exploits/dahua-eims-remote-command-execution_23961","tags":["third-party-advisory"]},{"url":"https://www.cnvd.org.cn/flaw/show/CNVD-2024-17054","tags":["third-party-advisory"]},{"url":"https://www.vulncheck.com/advisories/dahua-eims-rce","tags":["third-party-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2024-54921","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-54921","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-07-11","earliestUrl":"https://github.com/CrimsonfiedOfficial/CVE-2024-13985","repos":[{"name":"CrimsonfiedOfficial/CVE-2024-13985","url":"https://github.com/CrimsonfiedOfficial/CVE-2024-13985","stars":2,"created":"2026-07-11"}]},"nuclei":[{"id":"CVE-2024-13985","name":"Dahua EIMS - Unauthenticated Remote Code Execution via capture_handle","severity":"critical","path":"http/cves/2024/CVE-2024-13985.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-13985.yaml"}],"first":{"date":"2026-07-11","source":"PoC-in-GitHub","url":"https://github.com/CrimsonfiedOfficial/CVE-2024-13985"},"provenance":"source"},"exploitRefs":["https://cn-sec.com/archives/2554372.html","https://blog.csdn.net/weixin_43567873/article/details/136636198","https://github.com/ahisec/nuclei-tps/blob/main/http/vulnerabilities/dahua/dahua-eims-capture-handle-rce.yaml"],"flow":[],"timeline":[{"date":"2024-04-06","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.cve.org/cverecord?id=CVE-2024-13985","provenance":"source"},{"date":"2025-08-27","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-13985","provenance":"source"},{"date":"2026-07-11","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/CrimsonfiedOfficial/CVE-2024-13985","provenance":"source"}],"speed":{"daysToPublicExploit":318,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":66.4,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 959 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.36,"detail":"percentile 0.9678"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 references tagged Exploit; 1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}