Skip to content
IDOR Write-up Beginner

Unpacking an IDOR-Based Exploit in International Shipping (70 Million+ PII Data Breach)

The shipment tracking endpoint used predictable Air Waybill numbers and exposed an MD5 hash of the customer's phone number in the page HTML. An unauthenticated API endpoint accepted that hash as a user identifier and returned full customer PII, so an attacker could brute-force identifiers and harvest personal data at scale.

susapr Follow

Published on medium.com

Hi, my name is Suyesh Prabhugaonkar and I’m a Security Engineer passionate about network security and client/server architecture. Recently, I came across my second Insecure Direct Object Reference (IDOR) vulnerability within a month — this time in the infrastructure of a billion-dollar international shipping…

Suyesh Prabhugaonkar (susapr), 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 used a predictable, non-secret identifier (an MD5 hash of the phone number) as the sole authorisation check, while the tracking page exposed that hash and used guessable sequential Air Waybill numbers.

Impact

An attacker could brute-force identifiers and harvest names, addresses, emails and phone numbers for a large customer base, with potential GDPR fines and phishing or identity-theft risk; the text does not state that a defence blocked the exploit.

What the attacker needed

No account needed; network access to the tracking page and API

The fix

The system should use cryptographically secure hashing, enforce authentication and authorisation on sensitive endpoints, and replace guessable identifiers with one-time tokens.

How it was found

  1. Visit the public shipment tracking page using an Air Waybill number.
  2. Read the page HTML to find the MD5 hash of the customer's phone number.
  3. Call the user info API endpoint, passing that hash as the uid parameter.
  4. Receive a JSON response containing the customer's full PII.

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 a simple identifier, like a number in a link, to decide which record to show, but forgets to check whether you are allowed to see that record. Here, the tracking page leaked a scrambled version of the customer's phone number, and a separate API trusted that scrambled value as proof of identity. Because the scrambling method (MD5) is weak and the tracking numbers were predictable, someone could guess valid values and pull names, addresses, emails and phone numbers without logging in.

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.