Skip to content
Info disclosure Write-up Beginner

How I Earned $4000+ from a Simple Information Disclosure Bug

An endpoint on a wildcard subdomain disclosed sensitive information. By applying the same endpoint to other subdomains and bypassing 403 restrictions, the researcher obtained additional disclosures and earned over $4000 in bounties.

rajauzairabdullah Follow

Published on medium.com

I recently had the pleasure of uncovering a vulnerability that netted me over $4000in bounties, all thanks to a simple information disclosure bug. The target program, which allowed wildcard subdomains for their domain .REDACTED.com, had a private nature, so I can’t share the specific details of the program itself.

Raja Uzair Abdullah, 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

Root cause

Likely the endpoint lacked proper access controls and was deployed across multiple subdomains, allowing sensitive information to be retrieved without authorisation.

Impact

An attacker could access sensitive information from multiple subdomains, and even after the initial bug was fixed, 403 bypasses still allowed access.

What the attacker needed

Wildcard subdomains; knowledge of the vulnerable endpoint

How it was found

  1. During manual recon, identify an endpoint that discloses sensitive information.
  2. Automate subdomain enumeration and append the vulnerable endpoint to each subdomain.
  3. Filter out 404 responses and focus on 403, 301, and 200 status codes.
  4. For 200 responses, report the vulnerability immediately.
  5. For 301 redirects, add 'www.' to the subdomain to capture the sensitive information.
  6. For 403 errors, use the 4-ZERO-3 tool to bypass restrictions and access the information.

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 website had a page that accidentally showed private information to anyone who visited it. The researcher found that the same page existed on many other parts of the site, and by trying different tricks to get past 'access denied' errors, they could see the private information on those too. This is called an information disclosure bug because the site reveals data it should keep hidden.

What is Info disclosure?

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

More by rajauzairabdullah

View all

6 more disclosed reports, best first.

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.