{"answers":{"affected":"It affects 7 products.","exploited":"There is no known exploitation of CVE-2023-40145 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-40145 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-40145 is a high-severity command injection vulnerability in Weintek cMT-FHD, published on 19 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40145 and fix it if it is affected.\n\nWhat it is: CVE-2023-40145 is a high-severity command injection vulnerability in Weintek cMT-FHD, published on 19 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-40145 in the wild and no public exploit code.\n\nAffected product: Weintek cMT-FHD. 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-2023-40145/ (Markdown: https://insights.sbomify.com/CVE-2023-40145/index.md)","id":"CVE-2023-40145","markdown":"https://insights.sbomify.com/CVE-2023-40145/index.md","name":"CVE-2023-40145","record":{"aliases":["GHSA-rqj6-qq4v-5w96"],"analysis":{"component_type":"ics_ot","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"HMI Web CGI","requires_auth":"low_privilege","summary":"An attacker can execute arbitrary commands on Weintek cMT3000 HMI devices after logging in, posing a risk to industrial control systems.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"icscert","cpe":[{"product":"cmt-fhd_firmware","vendor":"weintek"},{"product":"cmt-hdm_firmware","vendor":"weintek"},{"product":"cmt3071_firmware","vendor":"weintek"},{"product":"cmt3072_firmware","vendor":"weintek"},{"product":"cmt3090_firmware","vendor":"weintek"},{"product":"cmt3103_firmware","vendor":"weintek"},{"product":"cmt3151_firmware","vendor":"weintek"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"In Weintek's cMT3000 HMI Web CGI device, an anonymous attacker can execute arbitrary commands after login to the device.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Weintek cMT3000 HMI Web CGI OS Command Injection","id":"CVE-2023-40145","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Privilege escalation in Smart Reader","id":"CVE-2023-40146"},"packages":[],"prev":{"headline":"Command injection in DR-16F, DR-8F, DR-4F, DR-16H, DR-8H, DR-4H, DR-4M41 series","id":"CVE-2023-40144"},"products":["cMT-FHD","cMT-HDM","cMT3071","cMT3072","cMT3090","cMT3103","cMT3151"],"published":"2023-10-19","related":[{"cvss_score":9.8,"headline":"Weintek cMT3000 HMI Web CGI Stack-based Buffer Overflow","id":"CVE-2023-38584","kev_date_added":null,"published":"2023-10-19"},{"cvss_score":9.8,"headline":"Weintek cMT3000 HMI Web CGI Stack-based Buffer Overflow","id":"CVE-2023-43492","kev_date_added":null,"published":"2023-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-16","vendors":["Weintek"]},"summary":"An attacker can execute arbitrary commands on Weintek cMT3000 HMI devices after logging in, posing a risk to industrial control systems.","url":"https://insights.sbomify.com/CVE-2023-40145/"}