Apache Tomcat

Documentación

https://tomcat.apache.org/arrow-up-right


Discovery/Footprinting

Tomcat servers can be identified by the Server header in the HTTP response. If the server is operating behind a reverse proxy, requesting an invalid page should reveal the server and version.

curl -s http://app-dev.inlanefreight.local:8080/docs/ | grep Tomcat

Folder structure

├── bin
├── conf
│   ├── catalina.policy
│   ├── catalina.properties
│   ├── context.xml
│   ├── tomcat-users.xml
│   ├── tomcat-users.xsd
│   └── web.xml
├── lib
├── logs
├── temp
├── webapps
│   ├── manager
│   │   ├── images
│   │   ├── META-INF
│   │   └── WEB-INF
|   |       └── web.xml
│   └── ROOT
│       └── WEB-INF
└── work
    └── Catalina
        └── localhost

Enumeration

Ataques

https://www.rapid7.com/db/modules/auxiliary/scanner/http/tomcat_mgr_login/arrow-up-right

https://github.com/b33lz3bub-1/Tomcat-Manager-Bruteforcearrow-up-right


https://raw.githubusercontent.com/tennc/webshell/master/fuzzdb-webshell/jsp/cmd.jsparrow-up-right

http://web01.inlanefreight.local:8180/backup/cmd.jsparrow-up-right


multi/http/tomcat_mgr_uploadarrow-up-right


https://github.com/SecurityRiskAdvisors/cmd.jsparrow-up-right



Hardening

https://tomcat.apache.org/tomcat-9.0-doc/security-howto.htmlarrow-up-right

Last updated