---
id: CVE-2024-13985
title: >-
  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
summary: >-
  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…
severity: none
cwe:
  - CWE-78
published: '2025-08-27'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T21:10:00.130'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-13985'
references:
  - url: 'https://blog.csdn.net/weixin_43567873/article/details/136636198'
    label: disclosure@vulncheck.com
  - url: 'https://cn-sec.com/archives/2554372.html'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ahisec/nuclei-tps/blob/main/http/vulnerabilities/dahua/dahua-eims-capture-handle-rce.yaml
    label: disclosure@vulncheck.com
  - url: >-
      https://pentest-tools.com/vulnerabilities-exploits/dahua-eims-remote-command-execution_23961
    label: disclosure@vulncheck.com
  - url: 'https://s4e.io/tools/dahua-eims-remote-code-execution'
    label: disclosure@vulncheck.com
  - url: >-
      https://support.dahuatech.com/bulletin/info?IsDpValue=APKncD%2FBd6zIq4O2BUpuhjg6hGbLYAQKuf5hnmPaK9M%3D
    label: disclosure@vulncheck.com
  - url: 'https://www.cnvd.org.cn/flaw/show/CNVD-2024-17054'
    label: disclosure@vulncheck.com
  - url: 'https://www.vulncheck.com/advisories/dahua-eims-rce'
    label: disclosure@vulncheck.com
tags:
  - nvd
  - exploit-available
epss: 0.15095
epssPercentile: 0.96622
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/CrimsonfiedOfficial/CVE-2024-13985'
  nuclei:
    - CVE-2024-13985
  checkedAt: '2026-09-26T21:38:35.378Z'
exploitAvailable: true
ingestedAt: '2026-09-26T21:38:01.482Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
