Skip to content
IDOR Write-up Beginner

Buying A Gift Can Cost You Your PII Data

An IDOR vulnerability in the address selection endpoint allowed an attacker to change the addressId parameter and retrieve other users' addresses, names, and phone numbers. Because the IDs were sequential, an attacker could enumerate all addresses in the database, causing a mass PII leak.

Dipak kumar Das Follow

Published on addictivehackers.blogspot.com

The original lives on addictivehackers.blogspot.com

We do not hold its text, 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 server trusted the addressId supplied by the client without verifying that the address belonged to the authenticated user, and used sequential identifiers that made enumeration trivial.

Impact

An attacker could retrieve the names, phone numbers, and addresses of all users in the database, resulting in a mass PII leak.

What the attacker needed

A user account; ability to place an order

The fix

The issue was fixed silently by the Winni team, though the report does not describe the fix; it should be fixed by checking that the requested address belongs to the authenticated user and by using non-sequential identifiers.

How it was found

  1. Start placing an order and reach the address selection step.
  2. Intercept the POST request sent to the address selection endpoint.
  3. Change the addressId value to another number.
  4. Observe the response containing another user's name, phone number, and address.

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 place an order, the site asks which saved address to use by sending a number (the address ID) to the server. The server did not check that the address belonged to you, so changing the number showed someone else's name, phone number, and address. Because the numbers were in order, someone could simply try every number and collect everyone's details.

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 Dipak kumar Das

View all

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