Skip to content
Info disclosure Write-up Intermediate

From Logs to ATO | How I Hacked IBM

A publicly accessible Tomcat server exposed a directory listing of logs, which contained a config.json file with credentials for a WSO2 Identity Server. Using default credentials, the attacker gained full control of that server and portal.

medium.com

Published on medium.com

Free URL to access this article

Mohamed Talaat Saada (@t4144t), 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

The attacker could gain full control of the WSO2 Identity Server and portal, and the exposed logs also revealed other internal IPs and a working access token.

What the attacker needed

Publicly reachable Tomcat server; directory listing enabled on /logs; default credentials on WSO2 server

The fix

The vulnerabilities were remediated after the reports were closed.

How it was found

  1. Run automated reconnaissance against a list of IBM-related targets.
  2. Find a host with many open ports and resolve its FQDN.
  3. Access the Tomcat default page on port 8443.
  4. Fuzz for hidden directories and find /logs.
  5. Search the logs and find a config.json file with credentials.
  6. Use default credentials to log in to the WSO2 Identity Server.

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.

A server was left with a folder of log files that anyone could browse. Those logs included a configuration file with login details for another system, and that system still used the factory-default password. The attacker used those details to log in and take over the second system.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.