Skip to content
IDOR Write-up Beginner

Critical IDOR Vulnerability in Order Tracking System Exposes Cust

Order tracking URLs exposed order details without authentication, and the order ID and email were in the query string. An attacker could cycle through order IDs to view other customers' names, addresses, order contents and payment amounts.

Digvijay Gholase Follow

Published on jxycybersec.medium.com

While reading blogs on Bug Bounty, I found a blog from coffinxp which was about Full Potential of the waybackmachine. After reading blog, I thought I should try it to check if it gets me anything.

Digvijay Gholase, on jxycybersec.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 order tracking endpoint trusted the order ID and email in the URL as proof of ownership instead of checking the requester's session.

Impact

Personal data such as names, email addresses, shipping addresses, order contents and payment amounts could be viewed, and order IDs could be enumerated to view other users' orders; the text notes this may violate privacy laws.

What the attacker needed

No account needed; know or guess an order ID and email

The fix

The order tracking endpoint should require authentication and verify that the requester owns the order before returning details.

How it was found

  1. Search archived URLs for the target domain using the Wayback Machine CDX API.
  2. Filter the extracted URLs for ones containing an email address.
  3. Identify order-tracking links that include order ID and email as query parameters.
  4. Open such a link in a browser and observe that order details are shown without login.

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 order tracking page showed anyone's order details if they had the right link, with no login needed. The link contained the order number and email address, so someone could try other order numbers to see other people's orders. This is called an IDOR: a page that should check who is asking does not check at all.

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 Digvijay Gholase

View all

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