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