Skip to content
Info disclosure Write-up Beginner

Accessing Admin Directory

A staging subdomain exposed an orders.json file containing fake order records, which was publicly accessible without authentication. An attacker could view this test data, though it was not real customer information.

ghostman01 Follow

Published on ghostman01.medium.com

Hey folks! After spending a few hours hunting and reporting a .git exposure via CloudFront, I got back to my primary target to continue digging.

SIDDHANT SHUKLA, on ghostman01.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 staging environment was not properly secured and contained publicly accessible test data files.

What the attacker needed

Staging subdomain exists; orders.json file present; no authentication required

How it was found

  1. Enumerate subdomains and check which are alive.
  2. Use directory brute-forcing and archived URLs to find historical paths.
  3. Notice a staging subdomain in the archived data.
  4. Try the historical paths on the staging subdomain.
  5. Find that one path returns a JSON file with order records.

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 staging server is a test copy of a website, often used before changes go live. Here, a file meant for testing was left publicly accessible, so anyone could read it. The data was fake, but it still shows how forgotten test servers can leak information.

What is Info disclosure?

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

More by ghostman01

View all

3 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.