Skip to content
IDOR Write-up Beginner

From Zero to $8k: How I Stumbled Into a Critical Bug (And You Ca

The checkout page used a sequential order ID in the URL and did not check whether the logged-in user owned that order. An attacker could change the ID to view other customers' orders, including addresses and partial card numbers, and potentially modify order details.

Krish_cyber Follow

Published on krishna-cyber.medium.com

Picture this: I was a broke college student, binge-watching cybersecurity tutorials, when I stumbled across a bug bounty program. Fast-forward 3 weeks, and I’d bagged $8,000 for finding a critical flaw.

Krish_cyber, on krishna-cyber.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 application used predictable sequential order identifiers and did not verify that the requesting user owned the referenced order.

Impact

An attacker could view sensitive order data such as addresses and partial credit card numbers, and the text claims they could modify order details or escalate to admin accounts if IDs were sequential; the report also notes there was no rate-limiting, so many orders could be brute-forced.

What the attacker needed

A user account on the fintech app; access to the checkout page; ability to edit URL parameters

The fix

The application should enforce user-based access controls and use unpredictable identifiers such as UUIDs for order IDs.

How it was found

  1. Open the checkout page and notice the order ID in the URL.
  2. Change the order ID number to a different value.
  3. Observe that the page displays another user's order.

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 buy something online, the website often puts a number in the address bar to identify your order. If the site does not check that the number belongs to you, you can change it to see someone else's order. This is called an insecure direct object reference, or IDOR.

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 Krish_cyber

View all

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