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
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
- Run automated reconnaissance against a list of IBM-related targets.
- Find a host with many open ports and resolve its FQDN.
- Access the Tomcat default page on port 8443.
- Fuzz for hidden directories and find /logs.
- Search the logs and find a config.json file with credentials.
- 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.