{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2023-25910 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-25910 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-25910 is a critical code injection vulnerability in Siemens SIMATIC PCS 7, published on 13 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-25910 and fix it if it is affected.\n\nWhat it is: CVE-2023-25910 is a critical code injection vulnerability in Siemens SIMATIC PCS 7, published on 13 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-25910 in the wild and no public exploit code.\n\nAffected product: Siemens SIMATIC PCS 7. 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-25910/ (Markdown: https://insights.sbomify.com/CVE-2023-25910/index.md)","id":"CVE-2023-25910","markdown":"https://insights.sbomify.com/CVE-2023-25910/index.md","name":"CVE-2023-25910","record":{"aliases":["GHSA-5wm3-c83x-cqpq"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Siemens industrial automation","requires_auth":"none","summary":"Remote attackers with low privileges can exploit embedded database functions to execute code with elevated privileges on Siemens industrial automation servers.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"simatic_pcs_7","vendor":"siemens"},{"product":"simatic_s7-pm","vendor":"siemens"},{"product":"simatic_step_7","vendor":"siemens"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:T/RC:C","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"A vulnerability has been identified in SIMATIC PCS 7 (All versions \u003c V9.1 SP2 UC04), SIMATIC S7-PM (All versions \u003c V5.7 SP1 HF1), SIMATIC S7-PM (All versions \u003c V5.7 SP2 HF1), SIMATIC STEP 7 V5 (All versions \u003c V5.7). The affected product contains a database management system that could allow remote users with low privileges to use embedded functions of the database (local or in a network share) that have impact on the server.\r\n\r\nAn attacker with network access to the server network could leverage these embedded functions to run code with elevated privileges in the database management system's server.","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":"Code injection in SIMATIC PCS 7","id":"CVE-2023-25910","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Authenticated OS Command Injection in Danfoss AK-EM100","id":"CVE-2023-25911"},"packages":[],"prev":{"headline":"HGiga Inc. OAKlouds - Arbitrary File Upload","id":"CVE-2023-25909"},"products":["SIMATIC PCS 7","SIMATIC S7-PM","SIMATIC STEP 7 V5"],"published":"2023-06-13","related":[{"cvss_score":9.9,"headline":"Path traversal in SIMATIC PCS 7 V8.2","id":"CVE-2021-40358","kev_date_added":null,"published":"2021-11-09"},{"cvss_score":9.8,"headline":"Auth bypass in SIMATIC PCS 7 V8.0 and earlier","id":"CVE-2019-10922","kev_date_added":null,"published":"2019-05-14"},{"cvss_score":8.8,"headline":"Information disclosure in SIMATIC PCS 7 V8.2","id":"CVE-2021-40360","kev_date_added":null,"published":"2022-02-09"},{"cvss_score":8.8,"headline":"SQL injection in SIMATIC PCS 7 V8.0 and earlier","id":"CVE-2019-10916","kev_date_added":null,"published":"2019-05-14"},{"cvss_score":8.8,"headline":"Privilege escalation in SIMATIC PCS 7 V8.0 and earlier","id":"CVE-2019-10918","kev_date_added":null,"published":"2019-05-14"},{"cvss_score":8.1,"headline":"Information disclosure in SIEMENS SIMATIC WinCC (All versions \u003c SIMATIC WinCC V7.2) and SIEMENS SIMATIC PCS 7 (All versions \u003c SIMATIC PCS 7 V8.0 SP1)","id":"CVE-2016-9160","kev_date_added":null,"published":"2016-12-17"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Siemens"]},"summary":"Remote attackers with low privileges can exploit embedded database functions to execute code with elevated privileges on Siemens industrial automation servers.","url":"https://insights.sbomify.com/CVE-2023-25910/"}