Advisory Details

May 4th, 2018

Trend Micro Encryption for Email Gateway editPolicy hidRuleId SQL Injection Remote Code Execution Vulnerability

ZDI-18-414
ZDI-CAN-5534

CVE ID CVE-2018-6229
CVSS SCORE 6.5, AV:N/AC:L/Au:S/C:P/I:P/A:P
AFFECTED VENDORS Trend Micro
AFFECTED PRODUCTS Encryption for Email Gateway
VULNERABILITY DETAILS


This vulnerability allows remote attackers to execute arbitrary SQL statements on vulnerable installations of Trend Micro Encryption of Email Gateway. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the formEditPolicy class. When parsing the hidRuleId parameter, the process does not properly validate a user-supplied string before using it to construct SQL queries. An attacker can leverage this in conjunction with other vulnerabilities to code execution in the context of root.

ADDITIONAL DETAILS Trend Micro has issued an update to correct this vulnerability. More details can be found at:
https://success.trendmicro.com/solution/1119349
DISCLOSURE TIMELINE
  • 2018-01-02 - Vulnerability reported to vendor
  • 2018-05-04 - Coordinated public release of advisory
  • 2018-05-04 - Advisory Updated
CREDIT Steven Seeley of Source Incite
BACK TO ADVISORIES