header-logo
Suggest Exploit
vendor:
Secure Messaging Gateway
by:
Mehmet Ince
7.2
CVSS
HIGH
SQL Injection and Command Injection
CWE
Product Name: Secure Messaging Gateway
Affected Version From:
Affected Version To:
Patch Exists:
Related CWE: CVE-2018-12464, CVE-2018-12465
CPE:
Metasploit:
Other Scripts:
Platforms Tested:

MicroFocus Secure Messaging Gateway Remote Code Execution

This module exploits a SQL injection and command injection vulnerability in MicroFocus Secure Messaging Gateway. An unauthenticated user can execute a terminal command under the context of the web user. One of the user supplied parameters of API endpoint is used by the application without input validation and/or parameter binding, which leads to SQL injection vulnerability. Successfully exploiting this vulnerability gives the ability to add a new user onto the system. manage_domains_dkim_keygen_request.php endpoint is responsible for executing an operating system command. It's not possible to access this endpoint without having a valid session. Combining these vulnerabilities gives the opportunity to execute operating system commands under the context of the web user.

Mitigation:

Source

Exploit-DB raw data: