tomcat
Tomcat Files
# path
/manager/
/manager/status
/host-manager/
# main config paths
/etc/tomcat{X}
/usr/share/tomcat{X}/etc/
/etc/tomcat{X}/conf/
/etc/tomcat/conf/
C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf\
C:\xampp\tomcat\conf\
# files
conf\tomcat-users.xmlCheck for default creds using
use nikto to scan for default creds
Shell
Deploying Using CLI (.war) - using manager
Deploying without creds - using filesystem (Windows)
generate
shell.warcopy to
%CATALINA_HOME%\webapps\shell.warrun
%CATALINA_HOME%\bin\startup.bat.war is deployed.
invoke using
curl http://IP:PORT/shell/
Tomcat/9.0.31
Tomcat JSP Upload Bypass / RCE
https://www.exploit-db.com/exploits/42966
https://blogs.keysight.com/blogs/tech/nwvs.entry.html/2020/06/12/deconstructing_apach-emYD.html
Last updated
Was this helpful?