Skip to content
Info disclosure Write-up Beginner

Uncovering Hidden Vulnerabilities: How I Earned Two Bounties for the Same Issue

Internal PDF documents containing sensitive company information were publicly reachable at predictable file paths. An attacker could download these files and read confidential operational and policy material.

milanjain7906 Follow

Published on medium.com

Hey everyone! I hope you’re all doing well.

Milanjain, 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

Anyone who found the links could read internal company documents; the text does not say how sensitive the contents were beyond calling them sensitive.

What the attacker needed

Internet access; no account needed

The fix

The exposed files were fixed after being reported, though the text does not describe how.

How it was found

  1. Run a search engine query restricted to the target domain and document file extensions.
  2. Open the internal PDF found in the results.
  3. Report the exposed file and wait for it to be fixed.
  4. Use an archive tool to collect historical URLs for the domain.
  5. Filter the collected URLs for PDF files.
  6. Open the second internal PDF found at a different endpoint and report it.

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.

Some websites keep documents that are only meant for staff, but if the file sits on a public web server and nobody checks who can open it, anyone with the link can read it. Here the author used search engines and an archive of old web pages to find such links. This is called information disclosure: private data leaking because access was never restricted.

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.