{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-0012 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-0012 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-0012 is a medium-severity vulnerability in SAP Host Agent (Windows), published on 10 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-0012 and fix it if it is affected.\n\nWhat it is: CVE-2023-0012 is a medium-severity vulnerability in SAP Host Agent (Windows), published on 10 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-0012 in the wild and no public exploit code.\n\nAffected product: SAP Host Agent (Windows). 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-0012/ (Markdown: https://insights.sbomify.com/CVE-2023-0012/index.md)","id":"CVE-2023-0012","markdown":"https://insights.sbomify.com/CVE-2023-0012/index.md","name":"CVE-2023-0012","record":{"aliases":["GHSA-xh7r-hcfv-6wpx"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"SAP Host Agent","requires_auth":"high_privilege","summary":"A local attacker with SAP_LocalAdmin membership can replace executables to run malicious code with privileged account access on Windows systems.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"host_agent","vendor":"sap"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"In SAP Host Agent (Windows) - versions 7.21, 7.22, an attacker who gains local membership to SAP_LocalAdmin could be able to replace executables with a malicious file that will be started under a privileged account. Note that by default all user members of SAP_LocaAdmin are denied the ability to logon locally by security policy so that this can only occur if the system has already been compromised.","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":"Local Privilege Escalation in SAP Host Agent (Windows)","id":"CVE-2023-0012","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver AS for ABAP and ABAP Platform","id":"CVE-2023-0013"},"packages":[],"prev":{"headline":"Command Execution through Serial Interface of u-blox TOBY-L2","id":"CVE-2023-0011"},"products":["Host Agent (Windows)"],"published":"2023-01-10","related":[{"cvss_score":8.8,"headline":"Command injection in Host Agent Service","id":"CVE-2023-24523","kev_date_added":null,"published":"2023-02-14"},{"cvss_score":7.5,"headline":"Denial of service in SAP Host Agent","id":"CVE-2020-6186","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2017-15297","kev_date_added":null,"published":"2017-10-16"},{"cvss_score":7.2,"headline":"Memory Corruption vulnerability in SAP Host Agent (SAPOSCOL)","id":"CVE-2023-27498","kev_date_added":null,"published":"2023-03-14"},{"cvss_score":7.2,"headline":"Privilege escalation in SAP Host Agent","id":"CVE-2020-6234","kev_date_added":null,"published":"2020-04-14"},{"cvss_score":6.3,"headline":"Local Privilege Escalation in SAP Host Agent","id":"CVE-2024-47595","kev_date_added":null,"published":"2024-11-12"}],"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-04-09","vendors":["SAP"]},"summary":"A local attacker with SAP_LocalAdmin membership can replace executables to run malicious code with privileged account access on Windows systems.","url":"https://insights.sbomify.com/CVE-2023-0012/"}