From TOMCAT to NT AUTHORITY\SYSTEM
A Tomcat manager interface on a subdomain was protected by default credentials, allowing an attacker to deploy a malicious WAR file and obtain a reverse shell. The server was an unpatched Windows Server 2012, which could have allowed further privilege escalation.
{{media:0}}
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could execute commands on the server with the privileges of the Tomcat service, and the unpatched Windows Server could allow further compromise.
What the attacker needed
Internet access to the target; Tomcat manager exposed; default credentials unchanged
How it was found
- Enumerate subdomains and find a test subdomain.
- Scan directories and find the /manager path.
- Try default credentials and log in successfully.
- Generate a malicious WAR file and deploy it via the manager.
- Start a listener and receive a reverse shell.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The Tomcat manager is a web page used to deploy applications. If it is left with the default username and password, anyone can log in and upload a malicious application that gives them control of the server. This report shows that happening.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.