Skip to content
Misconfiguration Write-up Beginner

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.

Rahul R Follow

Published on medium.com

{{media:0}}

Rahul R, on medium.com

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

  1. Enumerate subdomains and find a test subdomain.
  2. Scan directories and find the /manager path.
  3. Try default credentials and log in successfully.
  4. Generate a malicious WAR file and deploy it via the manager.
  5. 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.

More by Rahul R

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.