Skip to content
IDOR Write-up Beginner

One Mobile Number = Full Wishlist Takeover (No Authentication Required)

The wishlist API endpoints accepted a mobile number and user ID from the client without authentication, allowing anyone to read, add to, or delete items from any user's wishlist. An attacker could fully manipulate other users' wishlists.

GERRR4Y Follow

Published on medium.com

بس� الله والصلاة والسلا� على رسول الله الح� د لله الذي عل� بالقل� عل� الإنسان � ا ل� يعل� والصلاة والسلا� على خير � عل� الناس الخير � ح� د

Aya Ayman(GERR4Y), 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 endpoints did not verify that the authenticated user owned the wishlist identified by the supplied mobile number and user ID.

Impact

An attacker could read, add to, and delete items from any user's wishlist without authentication, violating data integrity and enabling spam or trolling.

What the attacker needed

Knowledge of victim's mobile number and user ID; no authentication required

How it was found

  1. Analyse a JavaScript file to find a backend subdomain.
  2. Enumerate API routes under the wishlist path.
  3. Send a request with a victim's mobile number and user ID to read their wishlist.
  4. Send a POST request with a victim's identifiers to add items to their wishlist.
  5. Send a POST request with a victim's identifiers to delete items from their wishlist.

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 wishlist is a list of products a user saves. The website's backend trusted the user ID and phone number sent by the browser, so anyone could change them to another person's details and access or modify that person's wishlist 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.

More by GERRR4Y

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.