{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-12464 exists.","fix":"No fix has been published for CVE-2018-12464 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-12464 is a critical SQL injection vulnerability in Micro Focus Secure Messaging Gateway, published on 29 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-12464 and fix it if it is affected.\n\nWhat it is: CVE-2018-12464 is a critical SQL injection vulnerability in Micro Focus Secure Messaging Gateway, published on 29 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-12464 exists.\n\nAffected product: Micro Focus Secure Messaging Gateway. 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-2018-12464/ (Markdown: https://insights.sbomify.com/CVE-2018-12464/index.md)","id":"CVE-2018-12464","markdown":"https://insights.sbomify.com/CVE-2018-12464/index.md","name":"CVE-2018-12464","record":{"aliases":["GHSA-qx98-cwxc-vrv6"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Secure Messaging Gateway","requires_auth":"none","summary":"Unauthenticated SQL injection allows attackers to create admin accounts and achieve remote code execution in Micro Focus Secure Messaging Gateway.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microfocus","cpe":[{"product":"secure_messaging_gateway","vendor":"microfocus"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A SQL injection vulnerability in the web administration and quarantine components of Micro Focus Secure Messaging Gateway allows an unauthenticated remote attacker to execute arbitrary SQL statements against the database. This can be exploited to create an administrative account and used in conjunction with CVE-2018-12465 to achieve unauthenticated remote code execution. Affects Micro Focus Secure Messaging Gateway versions prior to 471. It does not affect previous versions of the product that use the GWAVA product name (i.e. GWAVA 6.5).","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2018-06-19","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2018-06-19","kind":"metasploit","ref":"exploit/linux/http/microfocus_secure_messaging_gateway","stars":null,"title":"MicroFocus Secure Messaging Gateway Remote Code Execution"},{"date":"2018-07-24","kind":"exploitdb","ref":"45083","stars":null,"title":"Micro Focus Secure Messaging Gateway (SMG) \u003c 471 - Remote Code Execution (Metasploit)"},{"date":"2018-07-24","kind":"exploitdb","ref":"45083","stars":null,"title":"Micro Focus Secure Messaging Gateway (SMG) \u003c 471 - Remote Code Execution (Metasploit)"}],"tier":"weaponised"},"has_fix":null,"headline":"Unauthenticated SQL injection in Micro Focus Secure Messaging Gateway","id":"CVE-2018-12464","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Remote Code Execution in Micro Focus Secure Messaging Gateway","id":"CVE-2018-12465"},"packages":[],"prev":{"headline":"MFSBGN03811 rev.1 - Fortify Software Security Center (SSC), Multiple vulnerabilities","id":"CVE-2018-12463"},"products":["Secure Messaging Gateway"],"published":"2018-06-29","related":[{"cvss_score":9.1,"headline":"Remote Code Execution in Micro Focus Secure Messaging Gateway","id":"CVE-2018-12465","kev_date_added":null,"published":"2018-06-29"},{"cvss_score":8.8,"headline":"Command injection in Secure Messaging Gateway ( SMG).","id":"CVE-2020-11852","kev_date_added":null,"published":"2020-08-07"}],"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":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Micro Focus"]},"summary":"Unauthenticated SQL injection allows attackers to create admin accounts and achieve remote code execution in Micro Focus Secure Messaging Gateway.","url":"https://insights.sbomify.com/CVE-2018-12464/"}