From 401 — Unauthorized Access to 3000 $ Bounty from Microsoft.
An ASP.NET trace handler was left enabled on an admin path of a Microsoft IIS server, allowing unauthenticated access to detailed request and server variable data. An attacker could view this information to learn about the server's configuration and potentially aid further attacks.
Published on medium.com
First, I will introduce myself and then I will jump directly into my latest findings.
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 ASP.NET trace handler (Trace.axd) was left enabled and accessible without authentication on the admin path.
Impact
The server leaked its variables, which could expose sensitive configuration details and aid further attacks.
What the attacker needed
None
How it was found
- Found a subdomain that returned a 401 Unauthorized error.
- Appended /Admin to the URL and accessed the admin page.
- Appended /Trace.axd to the admin path and accessed the trace page.
- Clicked View Details and scrolled down to see leaked server variables.
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 web server can have a debugging feature that shows detailed information about each request, including things like session IDs and server paths. If this feature is left on and not protected, anyone can visit a special page and see that sensitive data. This is like leaving a diary open on a public bench.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.