Skip to content
Info disclosure Write-up Beginner

Turning Fuzzing Into $2,550: How a Simple Bug Gave Me Access to Employee IDs & Contracts

An employee portal exposed sequential image and PDF files under a predictable assets path without authentication, allowing anyone to enumerate and download employee ID cards and contracts. The researcher found the issue by fuzzing directories and filenames.

Almuntadhar Follow

Published on almuntadhar.medium.com

While testing on a privateprogram (ima name it redacted.com) I started like any security researcher would, doing basic reconnaissance (Subfinder + Httpx) and upon doing that i discovered an employee’s portal

Muntadhar M. Ahmed, on almuntadhar.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 assets directory served files directly without any authentication or authorisation check, and the file names were predictable sequential numbers.

What the attacker needed

Access to the employee portal subdomain; no account needed

The fix

The assets directory should require authentication and authorisation before serving files, and file names should not be predictable sequential numbers.

How it was found

  1. Fuzz the employee portal for endpoints and filter out responses that redirect to the login page.
  2. Notice that the /assets endpoint behaves differently by redirecting to /assets/ before the login page.
  3. Fuzz inside /assets and find /assets/stage, which also redirects to a trailing-slash version.
  4. Fuzz for files inside /assets/stage/ and find a PNG file that leaks an employee ID card.
  5. Generate a wordlist of numbers from 001 to 999 and fuzz for PNG files under /assets/stage/.
  6. Download hundreds of employee ID cards and PDF contracts.

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 company website had a folder meant for images, but it did not check who was asking for them. Because the file names were simple numbers, someone could guess every file name and download private documents such as staff ID cards and contracts.

What is Info disclosure?

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

More by Almuntadhar

View all

1 more disclosed report, 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.