Trend Micro Mobile Security for Enterprise diagnose_eas_status SlinkId SQL Injection Remote Code Execution Vulnerability

ID ZDI-17-787
Type zdi
Reporter Roberto Suggi Liverani - @malerisch - & Steven Seeley (mr_me) of Offensive Security
Modified 2017-09-15T00:00:00


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Trend Micro Mobile Security for Enterprise. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the processing of the eas_agent_register action. When parsing the 'slink\_id' field, the process does not properly validate a user-supplied string before using it to construct SQL queries in a later diagnose_eas_status request. An attacker can leverage this vulnerability to execute arbitrary code under the context of SYSTEM.