Exploit database

Vulnerability

CVE-2018-12464

Unauthenticated SQL injection in Micro Focus Secure Messaging Gateway

Vulnerability details

Score
10.0
Severity
critical

CVSS 3.0 · microfocus

Vector string

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

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).

CVE Program

Exploit source choices

2 sources
MicroFocus Secure Messaging Gateway Remote Code Execution
MSF-linux--http--microfocus_secure_messaging_gatewayMetasploitPHP / remote

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 a ability to add new user onto system. manage_domains_dkim_keygen_request.php endpoint is responsible for executing an operation system command. It's not possible to access this endpoint without having a valid session. Combining these vulnerabilities gives the opportunity execute operation system commands under the context of the web user.

2018-06-19microfocus_secure_messaging_gateway.rb