{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-13985 exists.","fix":"No fix has been published for CVE-2024-13985 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-13985 is a critical command injection vulnerability in Zhejiang Dahua Technology Co., Ltd. EIMS, published on 27 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-13985 and fix it if it is affected.\n\nWhat it is: CVE-2024-13985 is a critical command injection vulnerability in Zhejiang Dahua Technology Co., Ltd. EIMS, published on 27 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-13985 exists.\n\nAffected product: Zhejiang Dahua Technology Co., Ltd. EIMS. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-13985/ (Markdown: https://insights.sbomify.com/CVE-2024-13985/index.md)","id":"CVE-2024-13985","markdown":"https://insights.sbomify.com/CVE-2024-13985/index.md","name":"CVE-2024-13985","record":{"aliases":["GHSA-gqv2-wjhw-h44w"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Dahua EIMS","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary system commands on Dahua EIMS servers via the capture_handle.action interface, leading to full system compromise.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":10,"severity":"critical","source":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-07-11","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-07-11T06:19:18Z","kind":"github_poc","ref":"https://github.com/CrimsonfiedOfficial/CVE-2024-13985","stars":2,"title":"Dahua CVE-2024-13985"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-13985.yaml","stars":null,"title":"Dahua EIMS - Unauthenticated Remote Code Execution via capture_handle"}],"tier":"weaponised"},"has_fix":null,"headline":"Dahua EIMS capture_handle.action RCE","id":"CVE-2024-13985","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":8,"next":{"headline":"Nagios XI \u003c 2024R1.3.2 Authenticated Arbitrary File Upload Path Traversal RCE","id":"CVE-2024-13986"},"packages":[],"prev":{"headline":"Qi'anxin TianQing Management Center rptsvr Arbitrary File Upload","id":"CVE-2024-13984"},"products":["EIMS"],"published":"2025-08-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-15","vendors":["Zhejiang Dahua Technology Co., Ltd."]},"summary":"Unauthenticated attackers can execute arbitrary system commands on Dahua EIMS servers via the capture_handle.action interface, leading to full system compromise.","url":"https://insights.sbomify.com/CVE-2024-13985/"}