{"answers":{"affected":"It affects 9 products.","exploited":"There is no known exploitation of CVE-2023-40309 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-40309 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-40309 is a critical missing authorization vulnerability in Sap Netweaver Application Server Abap, published on 12 Sep 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-40309 and fix it if it is affected.\n\nWhat it is: CVE-2023-40309 is a critical missing authorization vulnerability in Sap Netweaver Application Server Abap, published on 12 Sep 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-40309 in the wild and no public exploit code.\n\nAffected product: Sap Netweaver Application Server Abap. 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-40309/ (Markdown: https://insights.sbomify.com/CVE-2023-40309/index.md)","id":"CVE-2023-40309","markdown":"https://insights.sbomify.com/CVE-2023-40309/index.md","name":"CVE-2023-40309","record":{"aliases":["GHSA-42qx-rv8j-r8f3"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["privilege_escalation","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP CommonCryptoLib","requires_auth":"none","summary":"An authenticated attacker can bypass authorization checks in SAP CommonCryptoLib to escalate privileges and access restricted data.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"commoncryptolib","vendor":"sap"},{"product":"content_server","vendor":"sap"},{"product":"extended_application_services_and_runtime","vendor":"sap"},{"product":"hana_database","vendor":"sap"},{"product":"host_agent","vendor":"sap"},{"product":"netweaver_application_server_abap","vendor":"sap"},{"product":"netweaver_application_server_java","vendor":"sap"},{"product":"sapssoext","vendor":"sap"},{"product":"web_dispatcher","vendor":"sap"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"SAP CommonCryptoLib does not perform necessary authentication checks, which may result in missing or wrong authorization checks for an authenticated user, resulting in escalation of privileges. Depending on the application and the level of privileges acquired, an attacker could abuse functionality restricted to a particular user group as well as read, modify or delete restricted data.","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":"Missing Authorization check in SAP CommonCryptoLib","id":"CVE-2023-40309","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sap:netweaver_application_server_abap","products":["sap:netweaver_application_server_abap","sap:netweaver_application_server_java"],"type":"missing_authorization","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Missing XML Validation vulnerability in SAP PowerDesigner Client BPMN2 import","id":"CVE-2023-40310"},"packages":[],"prev":{"headline":"Memory Corruption vulnerability in SAP CommonCryptoLib","id":"CVE-2023-40308"},"products":["SAP CommonCryptoLib","SAP Content Server","SAP Extended Application Services and Runtime (XSA)","SAP HANA Database","SAP Host Agent","SAP NetWeaver AS ABAP, SAP NetWeaver AS Java and ABAP Platform of S/4HANA on-premise","SAP Web Dispatcher","SAPSSOEXT"],"published":"2023-09-12","related":[{"cvss_score":7.5,"headline":"Memory Corruption vulnerability in SAP CommonCryptoLib","id":"CVE-2023-40308","kev_date_added":null,"published":"2023-09-12"},{"cvss_score":7.5,"headline":"Null dereference in SAP CommonCryptoLib","id":"CVE-2021-38177","kev_date_added":null,"published":"2021-09-14"},{"cvss_score":7.5,"headline":"Security feature bypass in n/a","id":"CVE-2014-8587","kev_date_added":null,"published":"2014-11-04"}],"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":"total"},"state":"PUBLISHED","updated":"2024-09-28","vendors":["SAP_SE"]},"summary":"An authenticated attacker can bypass authorization checks in SAP CommonCryptoLib to escalate privileges and access restricted data.","url":"https://insights.sbomify.com/CVE-2023-40309/"}