Tomcat

Discovery/Footprinting

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

<html lang="en"><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><link href="./images/docs-stylesheet.css" rel="stylesheet" type="text/css"><title>Apache Tomcat 9 (9.0.30) - Documentation Index</title><meta name="author" 

<SNIP>

Identificación de Servicios Tomcat

nmap -sV --script=http-title -p80,443,8080,8443 <IP>
nmap -sV --script=tomcat* -p8080 <IP>

Detección de Manager App (Common Paths)

- /manager/html
- /host-manager/html
- /tomcat/manager
- /admin

Fuzzing de Directorios (Common Tomcat Paths)

gobuster dir -u http://<IP>:8080 -w /usr/share/wordlists/dirb/common.txt
wfuzz -c -z file,/usr/share/wordlists/dirb/common.txt --hc 404 http://<IP>:8080/FUZZ

Attacking Tomcat

Tomcat Manager - Login Brute Force

mgr_brute

Tomcat Manager - WAR File Upload

Last updated