Skip to content
IDOR Write-up Beginner

I Found One Bug and Made $9,750

The data export endpoint accepted a report identifier without checking that it belonged to the requesting user. An attacker could change the identifier to download another user's full data export, including names, emails, and account details.

codii Follow

Published on medium.com

As someone who part-time engages in bug bounty hunting, I want to share with you the exact blueprint. This is how a single vulnerability was found, reported, and turned into a bounty.

Codi, 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 server used the user-supplied report identifier to fetch the file without verifying that the report belonged to the authenticated user.

Impact

Any authenticated user could access the full data exports of any other user, leading to a massive privacy breach.

What the attacker needed

A free account; ability to intercept HTTP requests

The fix

The flaw was fixed by adding proper user authorization checks.

How it was found

  1. Log in with your own test account.
  2. Start a data export and capture the export request.
  3. Change the report identifier to another user's identifier.
  4. Observe that the server returns a download link for the other user's data file.

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.

When you ask a website for a file, it often uses a number to find it. Here, the website did not check that the number belonged to you before handing over the file. So anyone logged in could change the number and download someone else's private data.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More by codii

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.