{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31485 exists.","fix":"No fix has been published for CVE-2024-31485 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-31485 is a high-severity command injection vulnerability in Siemens CPCI85 Central Processing/Communication, published on 14 May 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-31485 and fix it if it is affected.\n\nWhat it is: CVE-2024-31485 is a high-severity command injection vulnerability in Siemens CPCI85 Central Processing/Communication, published on 14 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31485 exists.\n\nAffected product: Siemens CPCI85 Central Processing/Communication. 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-31485/ (Markdown: https://insights.sbomify.com/CVE-2024-31485/index.md)","id":"CVE-2024-31485","markdown":"https://insights.sbomify.com/CVE-2024-31485/index.md","name":"CVE-2024-31485","record":{"aliases":["GHSA-xm6m-f95r-5x2c"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Siemens industrial controller","requires_auth":"high_privilege","summary":"Authenticated privileged attackers can execute arbitrary code with root privileges via command injection in the web interface of Siemens industrial devices.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"A vulnerability has been identified in CPCI85 Central Processing/Communication (All versions \u003c V5.30), SICORE Base system (All versions \u003c V1.3.0). The web interface of affected devices is vulnerable to command injection due to missing server side input sanitation. This could allow an authenticated privileged remote attacker to execute arbitrary code with root privileges.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Command injection in CPCI85 Central Processing/Communication","id":"CVE-2024-31485","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Information disclosure in OPUPI0 AMQP/MQTT","id":"CVE-2024-31486"},"packages":[],"prev":{"headline":"Null dereference in CPC80 Central Processing/Communication","id":"CVE-2024-31484"},"products":["CPCI85 Central Processing/Communication","SICORE Base system"],"published":"2024-05-14","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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Siemens"]},"summary":"Authenticated privileged attackers can execute arbitrary code with root privileges via command injection in the web interface of Siemens industrial devices.","url":"https://insights.sbomify.com/CVE-2024-31485/"}