{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-12465 exists.","fix":"No fix has been published for CVE-2018-12465 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-12465 is a critical command injection vulnerability in Micro Focus Secure Messaging Gateway, published on 29 Jun 2018. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-12465 and fix it if it is affected.\n\nWhat it is: CVE-2018-12465 is a critical command injection vulnerability in Micro Focus Secure Messaging Gateway, published on 29 Jun 2018. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-12465 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-12465/ (Markdown: https://insights.sbomify.com/CVE-2018-12465/index.md)","id":"CVE-2018-12465","markdown":"https://insights.sbomify.com/CVE-2018-12465/index.md","name":"CVE-2018-12465","record":{"aliases":["GHSA-ch8c-p3pw-fg7f"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Secure Messaging Gateway","requires_auth":"high_privilege","summary":"Privileged users can execute arbitrary OS commands via the web admin interface, potentially leading to full server compromise when chained with other vulnerabilities.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microfocus","cpe":[{"product":"secure_messaging_gateway","vendor":"microfocus"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"An OS command injection vulnerability in the web administration component of Micro Focus Secure Messaging Gateway (SMG) allows a remote attacker authenticated as a privileged user to execute arbitrary OS commands on the SMG server. This can be exploited in conjunction with CVE-2018-12464 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 used 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":"Remote Code Execution in Micro Focus Secure Messaging Gateway","id":"CVE-2018-12465","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"openbuildservice allowed deleting packages via project links","id":"CVE-2018-12466"},"packages":[],"prev":{"headline":"Unauthenticated SQL injection in Micro Focus Secure Messaging Gateway","id":"CVE-2018-12464"},"products":["Secure Messaging Gateway"],"published":"2018-06-29","related":[{"cvss_score":10,"headline":"Unauthenticated SQL injection in Micro Focus Secure Messaging Gateway","id":"CVE-2018-12464","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-16","vendors":["Micro Focus"]},"summary":"Privileged users can execute arbitrary OS commands via the web admin interface, potentially leading to full server compromise when chained with other vulnerabilities.","url":"https://insights.sbomify.com/CVE-2018-12465/"}