{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2016-2386 in the wild since at least 9 Jun 2022.","fix":"No fix has been published for CVE-2016-2386 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 30 Jun 2022.","what":"CVE-2016-2386 is a critical SQL injection vulnerability in Sap Netweaver Application Server Java, published on 16 Feb 2016. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-2386 and fix it if it is affected.\n\nWhat it is: CVE-2016-2386 is a critical SQL injection vulnerability in Sap Netweaver Application Server Java, published on 16 Feb 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2016-2386 in the wild since at least 9 Jun 2022.\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-2016-2386/ (Markdown: https://insights.sbomify.com/CVE-2016-2386/index.md)","id":"CVE-2016-2386","markdown":"https://insights.sbomify.com/CVE-2016-2386/index.md","name":"CVE-2016-2386","record":{"aliases":["GHSA-g384-79gw-fwh4"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP NetWeaver J2EE","requires_auth":"none","summary":"Remote attackers can execute arbitrary SQL commands in the SAP NetWeaver J2EE Engine UDDI server, potentially compromising data integrity and confidentiality.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"netweaver_application_server_java","vendor":"sap"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","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-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"SQL injection vulnerability in the UDDI server in SAP NetWeaver J2EE Engine 7.40 allows remote attackers to execute arbitrary SQL commands via unspecified vectors, aka SAP Security Note 2101079.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2016-05-19","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-08-13T12:07:09Z","kind":"github_poc","ref":"https://github.com/murataydemir/CVE-2016-2386","stars":2,"title":"[CVE-2016-2386] SAP NetWeaver AS JAVA UDDI Component SQL Injection"},{"date":"2016-05-19","kind":"exploitdb","ref":"39840","stars":null,"title":"SAP NetWeaver AS JAVA 7.1 \u003c 7.5 - SQL Injection"},{"date":"2018-01-10","kind":"exploitdb","ref":"43495","stars":null,"title":"SAP NetWeaver J2EE Engine 7.40 - SQL Injection"}],"tier":"exploited"},"has_fix":null,"headline":"SAP NetWeaver SQL Injection","id":"CVE-2016-2386","indexable":true,"kev":{"dateAdded":"2022-06-09","dueDate":"2022-06-30","knownRansomwareCampaignUse":"Unknown","product":"NetWeaver","requiredAction":"Apply updates per vendor instructions.","vendorProject":"SAP","vulnerabilityName":"SAP NetWeaver SQL Injection Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"sap:netweaver_application_server_java","products":["sap:netweaver_application_server_java"],"type":"sql_injection","year":"2016"},"n_packages":0,"n_references":7,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2016-2387"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2016-2385"},"products":["n/a"],"published":"2016-02-16","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":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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary SQL commands in the SAP NetWeaver J2EE Engine UDDI server, potentially compromising data integrity and confidentiality.","url":"https://insights.sbomify.com/CVE-2016-2386/"}