Healthcheck in the Wild — How an Unauthenticated Endpoint Leaked Internal Server Details
An unauthenticated healthcheck page on a public host returned internal configuration details, including the physical server name, internal Windows file paths, the ASP.NET version and file-existence check logic. An attacker could use this information to plan targeted follow-up attacks against the server.
Published on medium.com
I’m Bassem (AKA. satan11), a bug bounty hunter and aspiring penetration tester. I publish real-world writeups to help others learn from the bugs I find in live programs.
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
Root cause
Likely the healthcheck page was deployed publicly without authentication and was written to output diagnostic details rather than a simple status value.
Impact
The exposed details could lower the bar for an attacker planning targeted follow-up attacks, though the text does not show any further exploitation.
What the attacker needed
None
How it was found
- Enumerate subdomains to widen the attack surface.
- Probe the discovered hosts to find which are alive and note their technologies.
- Run a quick directory scan to spot file types and endpoint names.
- Run a focused directory scan with specific file extensions.
- Open the candidate paths manually and inspect the raw response for internal details.
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 healthcheck page is a small status page a server uses to show it is running. This one was reachable by anyone without logging in, and it printed private details about the machine, such as its real name and where files live on disk. That does not break in by itself, but it gives an attacker a map of the inside of the system.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.