Skip to content
IDOR Write-up Beginner

Exposing a Critical PII Leak on Durex India: How a Simple Misconfiguration Put Customer Privacy at Risk

An unauthenticated API endpoint allowed anyone to retrieve order details by guessing sequential order IDs, exposing customers' names, addresses, phone numbers, and purchase histories. The API returned a pre-authenticated Shopify link for active orders, giving direct access to private order pages.

Mayur Pandya Follow

Published on pandyamayurrr.medium.com

When we buy products online, we hand companies our most sensitive information and trust them to keep it locked away. That expectation becomes even more critical when the product in question is an intimate wellness item.

Mayur Pandya, on pandyamayurrr.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 third-party chatbot platform's default order-tracking option required only an order ID, with no server-side check that the requester owned the order.

Impact

An attacker could enumerate active orders and access customers' full names, email addresses, phone numbers, home addresses, and intimate purchase histories without authentication.

What the attacker needed

No account needed; knowledge of order ID format; internet access

The fix

The vulnerability was fixed within 24 hours after escalation to CERT-In.

How it was found

  1. Find a publicly posted order ID from a social media screenshot.
  2. Open the Durex India site and use the order-tracking chatbot while watching network requests.
  3. Observe the POST request to the third-party API containing only a static store ID and the order ID.
  4. Change the order ID number to find valid active orders.
  5. For an active order, receive a pre-authenticated Shopify link that opens the customer's order page 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.

A website's order-tracking feature let anyone look up orders by typing a simple number. Because the numbers were predictable and the system never checked who was asking, a person could see other customers' private details like their home address and what they bought.

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 Mayur Pandya

View all

1 more disclosed report, 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.