Skip to content
IDOR Write-up Intermediate

Bugbounty Write-up: IDOR (Insecure Direct Object References)

An IDOR in a payment API let the researcher access other users' transaction details, including cardholder names, addresses, emails and status, by supplying a valid payment identifier. The identifiers were UUIDs, but the researcher found valid ones through public archives and GitHub searches.

spydernox Follow

Published on medium.com

I found an Insecure Direct Object Reference (IDOR) in the payment process for users of a web application. This flaw enabled me to access sensitive information such as cardholder names, addresses, emails, and transaction details.

@SpyderNox, 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 payment API looked up transactions by the supplied payment identifier without checking that the authenticated user owned that transaction.

Impact

An attacker could read other users' sensitive payment information, including cardholder names, addresses, emails and transaction status, but exploitation required obtaining valid UUIDs from public sources.

What the attacker needed

A user account on the application; ability to intercept HTTP requests; valid payment UUIDs from public sources

How it was found

  1. Start placing an order and observe a PUT request containing a paymentID parameter.
  2. Intercept the request and replace the paymentID with a valid user ID.
  3. Find an endpoint in JavaScript files that retrieves transactions by ID.
  4. Test your own transaction ID to confirm access without authentication.
  5. Use online archives and GitHub searches to find other valid transaction IDs.
  6. Access other users' transaction details using those IDs.

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.

An IDOR happens when a website lets you change an identifier in a request (like a payment number) and shows you someone else's data instead of checking that the record belongs to you. Here, the payment numbers were long random strings (UUIDs), which are hard to guess, but the researcher found real ones in public archives and code searches. That let them read other people's payment details.

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.

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.