{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-22127 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-22127 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-22127 is a critical command injection vulnerability in Sap Netweaver Application Server Java, published on 12 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-22127 and fix it if it is affected.\n\nWhat it is: CVE-2024-22127 is a critical command injection vulnerability in Sap Netweaver Application Server Java, published on 12 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-22127 in the wild and no public exploit code.\n\nAffected product: Sap Netweaver Application Server Java. 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-22127/ (Markdown: https://insights.sbomify.com/CVE-2024-22127/index.md)","id":"CVE-2024-22127","markdown":"https://insights.sbomify.com/CVE-2024-22127/index.md","name":"CVE-2024-22127","record":{"aliases":["GHSA-j64p-69wq-hp65"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP NetWeaver AS Java","requires_auth":"high_privilege","summary":"High-privilege attackers can upload dangerous files to execute arbitrary commands, compromising SAP NetWeaver AS Java confidentiality, integrity, and availability.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"netweaver_application_server_java","vendor":"sap"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"SAP NetWeaver Administrator AS Java (Administrator Log Viewer plug-in) - version 7.50, allows an attacker with high privileges to upload potentially dangerous files which leads to command injection vulnerability. This would enable the attacker to run commands which can cause high impact on confidentiality, integrity and availability of the application.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-11-21","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-11-21T11:50:42Z","kind":"github_poc","ref":"https://github.com/mylo-2001/SAPSlayer","stars":1,"title":"SAP RCE auto-chain (CVE-2024-22127 + DIAG)"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Code Injection vulnerability in SAP NetWeaver AS Java (Administrator Log Viewer plug-in)","id":"CVE-2024-22127","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sap:netweaver_application_server_java","products":["sap:netweaver_application_server_java"],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver Business Client for HTML","id":"CVE-2024-22128"},"packages":[],"prev":{"headline":"Cross Site Scripting vulnerability in SAP NetWeaver AS Java (User Admin Application)","id":"CVE-2024-22126"},"products":["SAP NetWeaver AS Java (Administrator Log Viewer plug-in)"],"published":"2024-03-12","related":[{"cvss_score":10,"headline":"SAP NetWeaver Missing Authentication for Critical Function","id":"CVE-2020-6287","kev_date_added":"2021-11-03","published":"2020-07-14"},{"cvss_score":10,"headline":"SAP NetWeaver Remote Code Execution","id":"CVE-2010-5326","kev_date_added":"2021-11-03","published":"2016-05-13"},{"cvss_score":9.8,"headline":"SAP NetWeaver SQL Injection","id":"CVE-2016-2386","kev_date_added":"2022-06-09","published":"2016-02-16"},{"cvss_score":7.5,"headline":"SAP NetWeaver Directory Traversal","id":"CVE-2017-12637","kev_date_added":"2025-03-19","published":"2017-08-07"},{"cvss_score":7.5,"headline":"SAP NetWeaver Directory Traversal","id":"CVE-2016-3976","kev_date_added":"2021-11-03","published":"2016-04-07"},{"cvss_score":6.5,"headline":"SAP NetWeaver XML External Entity (XXE)","id":"CVE-2016-9563","kev_date_added":"2021-11-03","published":"2016-11-23"},{"cvss_score":5.3,"headline":"SAP NetWeaver Information Disclosure","id":"CVE-2016-2388","kev_date_added":"2022-06-09","published":"2016-02-16"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-26","vendors":["SAP_SE"]},"summary":"High-privilege attackers can upload dangerous files to execute arbitrary commands, compromising SAP NetWeaver AS Java confidentiality, integrity, and availability.","url":"https://insights.sbomify.com/CVE-2024-22127/"}