RCE in Zhejiang Dahua Technology Co., Ltd. Eims
CVE-2024-13985
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
EPSS exploit prediction
EPSS 0.151, 96.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Zhejiang Dahua Technology Co., Ltd. Eims — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- CrimsonfiedOfficial/CVE-2024-13985 (2 stars, last pushed 2026-07-11): Dahua CVE-2024-13985
- piecar21/CVE-2024-13985 (last pushed 2026-10-26): PoC / exploit archive for CVE-2024-13985
References
- support.dahuatech.com/bulletin/info (vendor-advisory)
- cn-sec.com/archives/2554372.html (technical-description, exploit)
- blog.csdn.net/weixin_43567873/article/details/136636198 (technical-description, exploit)
- github.com/ahisec/nuclei-tps/blob/main/http/vulnerabilities/dahua/dahua-eims-ca… (technical-description, exploit)
- s4e.io/tools/dahua-eims-remote-code-execution (third-party-advisory)
- pentest-tools.com/vulnerabilities-exploits/dahua-eims-remote-command-execution_… (third-party-advisory)
- www.cnvd.org.cn/flaw/show/CNVD-2024-17054 (third-party-advisory)
- www.vulncheck.com/advisories/dahua-eims-rce (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.