Path: blob/master/documentation/modules/auxiliary/admin/http/tomcat_administration.md
31979 views
Vulnerable Application
The administrator application was removed as of Tomcat 6. Tomcat 5.5.36 is available from apache. This does not have the admin app bundled though, and can be downloaded here.
To utilize the admin application, a user must have the permission admin applied to their account. The following user line will handle all necessary permissions:
Verification Steps
Install Tomcat 5.5 or older
Install the admin app
Start msfconsole
Do:
use auxiliary/admin/http/tomcat_administrationDo:
set rhosts [ips]Do:
set tomcat_user [username]Do:
set tomcat_pass [username]Do:
set rport [port]Do:
runFind all the Tomcat admin portals
Options
rport
The default is set to 8180, which is only default on FreeBSD. All other operating systems, and the software itself, default to 8080.
Scenarios
Example run against Tomcat 5.5.36 with admin module installed against Windows XP