Skip to content
IDOR Write-up Intermediate

How Unguessable IDOR Worth me €1000 On Intigriti

An API endpoint for payments exposed sensitive transaction data without proper authorisation checks, allowing access to other users' payment details. The payment ID was unguessable, which reduced the immediate risk, but the lack of authorisation still made it a high-severity issue.

manan_sanghvi Follow

Published on medium.com

Welcome back! I’m Manan Sanghvi, an Engineering Student and Ethical Hacker (Bug Bounty Hunter).

Manan Sanghvi, 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 API endpoint lacked an authorisation check to verify that the requesting user owned the payment record before returning its details.

Impact

An attacker could view sensitive payment details such as user ID, payment method, order ID, amount, and masked credit card information for other users, though the unguessable ID limited the immediate risk.

What the attacker needed

Access to the API endpoint; knowledge of a valid payment ID

The fix

The endpoint should be fixed by adding proper authorisation checks to ensure the requesting user owns the payment record.

How it was found

  1. Gather subdomains and collect URLs using tools like httpx-toolkit, Waybackurls, Katana, and Gauplus.
  2. Remove duplicate parameters using uro and urless.
  3. Filter endpoints containing /api/ to find API paths.
  4. Identify a payment API endpoint with an unguessable ID that returns sensitive data.

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 (Insecure Direct Object Reference) is when a website uses an identifier to fetch a record but doesn't check if you're allowed to see it. Here, the payment API returned details like user ID and masked card number for any payment ID you provided. The IDs were hard to guess, but the missing authorisation check still meant anyone who obtained an ID could view someone else's payment 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 manan_sanghvi

View all

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