Rapid7 Vulnerability & Exploit Database

Trend Micro Threat Discovery Appliance admin_sys_time.cgi Remote Command Execution

Back to Search

Trend Micro Threat Discovery Appliance admin_sys_time.cgi Remote Command Execution

Disclosed
04/10/2017
Created
05/30/2018

Description

This module exploits two vulnerabilities the Trend Micro Threat Discovery Appliance. The first is an authentication bypass vulnerability via a file delete in logoff.cgi which resets the admin password back to 'admin' upon a reboot (CVE-2016-7552). The second is a cmdi flaw using the timezone parameter in the admin_sys_time.cgi interface (CVE-2016-7547). Note: You have the option to use the authentication bypass or not since it requires that the server is rebooted. The password reset will render the authentication useless. Typically, if an administrator cant login, they will bounce the box. Therefore, this module performs a heartbeat request until the box is bounced and then attempts to login and to perform the command injection. This module has been tested on version 2.6.1062r1 of the appliance.

Author(s)

  • mr_me <steventhomasseeley@gmail.com>
  • Roberto Suggi Liverani <Roberto Suggi Liverani @malerisch>

Platform

Linux

Architectures

x86

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/http/trendmicro_threat_discovery_admin_sys_time_cmdi
msf exploit(trendmicro_threat_discovery_admin_sys_time_cmdi) > show targets
    ...targets...
msf exploit(trendmicro_threat_discovery_admin_sys_time_cmdi) > set TARGET < target-id >
msf exploit(trendmicro_threat_discovery_admin_sys_time_cmdi) > show options
    ...show and set options...
msf exploit(trendmicro_threat_discovery_admin_sys_time_cmdi) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;