Skip to content
IDOR Write-up Beginner

From Recon to Jackpot: IDOR That Exposed Billing Data and CHAINED

A checkout endpoint accepted a client-supplied student_id parameter and loaded billing information for that record without checking whether the logged-in user owned it. An attacker could change the sequential identifier to view other users' billing addresses and email addresses.

El Professor Qais Follow

Published on medium.com

Assalamualaikum and Hi! Here with me again, this write-up just been made after I already been awarded with $$$.

El Professor Qais, 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 checkout handler used the client-supplied student_id to fetch billing data without verifying that the record belonged to the authenticated user.

Impact

An attacker could view other users' billing addresses and email addresses by changing a sequential identifier, and the author notes the IDs could be iterated to retrieve many users' data.

What the attacker needed

A free account on the primary domain; access to the checkout page; a second account to obtain another student_id

How it was found

  1. Create an account on the primary domain and log in to the subdomain with the same credentials.
  2. Reach the checkout page and observe the POST request that generates a payment token and loads billing information from the student_id parameter.
  3. Create a second account and note its student ID value.
  4. Replace the student_id in the checkout request with the second account's ID and send it.
  5. Observe the redirect to the payment gateway with billing information belonging to the supplied student_id, not the logged-in 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.

When a website shows your own account details, it should check that the record really belongs to you. Here the checkout page trusted a number sent by the browser and fetched whatever billing record matched it. Because the numbers were sequential, someone could try other numbers and see other people's billing addresses and emails.

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 El Professor Qais

View all

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