{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-31405 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-31405 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-31405 is a medium-severity vulnerability in SAP_SE SAP NetWeaver AS for Java (Log Viewer), published on 11 Jul 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-31405 and fix it if it is affected.\n\nWhat it is: CVE-2023-31405 is a medium-severity vulnerability in SAP_SE SAP NetWeaver AS for Java (Log Viewer), published on 11 Jul 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-31405 in the wild and no public exploit code.\n\nAffected product: SAP_SE SAP NetWeaver AS for Java (Log Viewer). 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-31405/ (Markdown: https://insights.sbomify.com/CVE-2023-31405/index.md)","id":"CVE-2023-31405","markdown":"https://insights.sbomify.com/CVE-2023-31405/index.md","name":"CVE-2023-31405","record":{"aliases":["GHSA-735x-m7jj-qwvp"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP NetWeaver AS Java","requires_auth":"none","summary":"An unauthenticated attacker can modify system logs in SAP NetWeaver AS for Java via crafted network requests.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"netweaver_application_server_for_java","vendor":"sap"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs"}],"description":"SAP NetWeaver AS for Java - versions ENGINEAPI 7.50, SERVERCORE 7.50, J2EE-APPS 7.50, allows an unauthenticated attacker to craft a request over the network which can result in unwarranted modifications to a system log without user interaction. There is no ability to view any information or any effect on availability.","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":"Log Injection vulnerability in SAP NetWeaver AS for Java (Log Viewer)","id":"CVE-2023-31405","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-Site Scripting (XSS) vulnerability in SAP BusinessObjects Business Intelligence Platform","id":"CVE-2023-31406"},"packages":[],"prev":{"headline":"Information Disclosure in SAP BusinessObjects Business Intelligence Platform (Central Management Service)","id":"CVE-2023-31404"},"products":["SAP NetWeaver AS for Java (Log Viewer)"],"published":"2023-07-11","related":[{"cvss_score":9.9,"headline":"Improper Access Control in SAP NetWeaver AS for Java","id":"CVE-2023-23857","kev_date_added":null,"published":"2023-03-14"},{"cvss_score":9.4,"headline":"Improper access control in SAP NetWeaver AS for Java","id":"CVE-2023-0017","kev_date_added":null,"published":"2023-01-10"},{"cvss_score":9,"headline":"XML external entity in SAP NetWeaver AS for JAVA","id":"CVE-2021-27635","kev_date_added":null,"published":"2021-06-09"},{"cvss_score":8.2,"headline":"Improper access control during application start-up in SAP AS NetWeaver JAVA.","id":"CVE-2023-30744","kev_date_added":null,"published":"2023-05-09"},{"cvss_score":7.5,"headline":"Missing authorization in SAP NetWeaver Application Server for Java","id":"CVE-2022-27669","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":5.5,"headline":"Information disclosure in SAP NetWeaver AS for Java (UserAdmin)","id":"CVE-2021-27621","kev_date_added":null,"published":"2021-06-09"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-08","vendors":["SAP_SE"]},"summary":"An unauthenticated attacker can modify system logs in SAP NetWeaver AS for Java via crafted network requests.","url":"https://insights.sbomify.com/CVE-2023-31405/"}