githubEdit

Tomcat

Apache Tomcat security testing - enumeration, default credentials, manager exploitation, and common CVEs.

Enumeration

Version Detection

# Error pages often reveal version
curl -v https://target.com/nonexistent 2>&1 | grep "Tomcat"

# Server header
curl -I https://target.com | grep Server

# Documentation pages
/docs/
/RELEASE-NOTES.txt

Default Paths

# Manager interfaces
/manager/html          # Web Application Manager
/manager/text          # Text interface
/manager/jmxproxy     # JMX proxy
/manager/status        # Server status
/host-manager/html     # Virtual Host Manager

# Admin console (older versions)
/admin/

# Status page
/status

Example Applications (often left enabled)

Default Credentials

Credentials Location

Manager Exploitation

WAR File Deployment (RCE)

Manual JSP Webshell

Common CVEs

CVE-2017-12615 (PUT Method RCE)

CVE-2019-0232 (CGI RCE)

CVE-2020-1938 (Ghostcat - AJP)

CVE-2020-9484 (Deserialization)

JMX Exploitation

AJP Protocol Testing

Tools

Last updated

Was this helpful?