Skip to content
IDOR Write-up Intermediate

I Found A Low Severity Bug Until I Looked Deeper

An API endpoint exposed limited user metadata without proper authorization, and a separate export endpoint accepted arbitrary user IDs from the client. By chaining these, an attacker could request an export of another user's data, leading to unauthorized access to sensitive user exports.

Fateyaly Follow

Published on systemweakness.com

Read here.

Fateyaly, on systemweakness.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 export endpoint failed to verify that the authenticated user was authorised to export the requested user ID, and the profile endpoint leaked internal identifiers that made the export request possible.

Impact

An attacker could obtain sensitive user exports for accounts they do not own, potentially leading to full unauthorized access to private data.

What the attacker needed

Authenticated account; knowledge of target user ID

How it was found

  1. Request a user's profile from the API endpoint without proper authorization and note the leaked internal user ID.
  2. Find the export endpoint that accepts a user ID from the client.
  3. Send an export request using the leaked internal user ID.
  4. Receive an accepted response and later download the export for the target account.

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 website had a small leak: an API address showed basic details about any user, like their username and internal ID. Separately, a data export feature trusted whatever user ID it was given, so someone could ask it to export another person's data. Neither bug was serious alone, but together they let an attacker download someone else's private information.

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 Fateyaly

View all

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