Skip to content
Info disclosure Write-up Beginner

The Ghost in the Machine: A Bug Bounty Short Story

A forgotten URL containing a username and password in a referrer parameter was archived and still worked, giving access to an account with unrestricted access to sensitive contractor data. An attacker could use this to view personal information including national ID numbers.

medium.com

Published on medium.com

It was 2:00 AM, and my terminal was a blur of scrolling green text. I was deep into a private bug bounty program for a massive corporate real estate company, searching for the things that developers thought they had deleted years ago.

Mohamed Adel, 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 application passed credentials in a URL query parameter, which was then leaked via the referrer header and archived.

Impact

The account had unrestricted access to the company’s entire third-party supply chain, exposing full names, job titles, and national identification numbers of thousands of external contractors.

What the attacker needed

Credentials leaked in a URL; URL archived publicly; account still active

How it was found

  1. Use a tool to passively collect URLs from public archives.
  2. Find a URL containing a referrer parameter with a username and password.
  3. Open the URL and see that it still logs in to the application.
  4. Navigate to a section with sensitive data and observe access to personal 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 web address can sometimes include extra information after a question mark, like a username and password. If that address is saved or shared, anyone who finds it can use those credentials to log in. Here, an old address with a password was stored in an internet archive and still worked, letting someone access private data.

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.