{"schemaVersion":3,"id":"CVE-2018-12465","aliases":[],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2018-06-29T16:00:00.000Z","modified":"2024-09-16T20:21:55.086Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9,"severity":"high","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.80021,"percentile":0.99613,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.80021},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.80021,"percentile":0.99613}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.80021,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.80021,"percentile":0.99613}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"45083","name":"Micro Focus Secure Messaging Gateway (SMG) < 471 - Remote Code Execution (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/45083","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/45083.rb","codes":["CVE-2018-12465","CVE-2018-12464"]},"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_MICROFOCUS_SECURE_MESSAGING_GATEWAY","name":"MicroFocus Secure Messaging Gateway Remote Code Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/microfocus_secure_messaging_gateway.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/microfocus_secure_messaging_gateway","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":2,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"micro focus","product":"secure messaging gateway","name":"Secure Messaging Gateway","label":"secure messaging gateway","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 471","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 471","eol":null,"hubHref":"/vendor/micro_focus/secure_messaging_gateway"},{"vendor":"microfocus","product":"secure_messaging_gateway","name":"secure messaging gateway","label":"secure_messaging_gateway","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 471","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 471","eol":null,"hubHref":"/vendor/microfocus/secure_messaging_gateway"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://support.microfocus.com/kb/doc.php?id=7023133","label":"support.microfocus.com/kb/doc.php?id=7023133","hostname":"support.microfocus.com","tags":["X Refsource CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/45083/","label":"www.exploit-db.com/exploits/45083/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"https://pentest.blog/unexpected-journey-6-all-ways-lead-to-rome-remote-code-execution-on-microfocus-secure-messaging-gateway/","label":"pentest.blog/unexpected-journey-6-all-ways-lead-to-rome-remote-code-execution-on-microfocus-secure-messaging-gateway","hostname":"pentest.blog","tags":["X Refsource CONFIRM"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-06-29T16:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T20:21:55.086Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:21:41.753Z","stale":false,"partial":false}}