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.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
* before 2240008
Credits
Maodaner Security
References
support.dahuatech.com/...Iq4O2BUpuhjg6hGbLYAQKuf5hnmPaK9M%3D
cn-sec.com/archives/2554372.html
blog.csdn.net/weixin_43567873/article/details/136636198
github.com/...ities/dahua/dahua-eims-capture-handle-rce.yaml
s4e.io/tools/dahua-eims-remote-code-execution
pentest-tools.com/...hua-eims-remote-command-execution_23961
www.cnvd.org.cn/flaw/show/CNVD-2024-17054
www.vulncheck.com/advisories/dahua-eims-rce