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.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://support.dahuatech.com/bulletin/info?IsDpValue=APKncD%2FBd6zIq4O2BUpuhjg6hGbLYAQKuf5hnmPaK9M%3D | vendor advisory |
https://cn-sec.com/archives/2554372.html | technical description exploit |
https://blog.csdn.net/weixin_43567873/article/details/136636198 | technical description exploit |
https://github.com/ahisec/nuclei-tps/blob/main/http/vulnerabilities/dahua/dahua-eims-capture-handle-rce.yaml | technical description exploit |
https://s4e.io/tools/dahua-eims-remote-code-execution | third party advisory |
https://pentest-tools.com/vulnerabilities-exploits/dahua-eims-remote-command-execution_23961 | third party advisory |
https://www.cnvd.org.cn/flaw/show/CNVD-2024-17054 | third party advisory |
https://www.vulncheck.com/advisories/dahua-eims-rce | third party advisory |