Skip to content
IDOR Write-up Beginner

Securing Biggest Electronic Brand Worth Me My 2nd 4 fig. $2259 Bounty!

Two API endpoints used sequential numeric identifiers for license and Q&A records without checking that the requester owned them, so changing the ID returned other customers' personal data. An attacker could enumerate the IDs to read sensitive information for over 50,000 users.

manan_sanghvi Follow

Published on medium.com

Hello, I’m Manan Sanghvi. This is my second write up on how I hacked Biggest Electronic Brand (Ethically) and it worth me 30 lakh Korean WoN (~$2259).

Manan Sanghvi, 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 fetched records by the client-supplied numeric ID without verifying that the record belonged to the authenticated user.

Impact

An attacker could read sensitive personal data and support communications for over 50,000 users; the report says the issue was not fixed at the time of writing.

What the attacker needed

Access to the website; ability to send API requests

The fix

The API should check that the authenticated user owns the requested record before returning it, rather than trusting the supplied ID.

How it was found

  1. Browse the site with a proxy and find the licence data endpoint that takes a licenceId.
  2. Send the request to Repeater and change the licenceId to a neighbouring number.
  3. Observe another user's personal data in the response.
  4. Find the Q&A endpoint that takes a qnaId and send it to Repeater.
  5. Change the qnaId value to a neighbouring number.
  6. Observe another user's support conversation and account details.

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 happens when a website looks up a record using an ID from the request but never checks that the logged-in user is allowed to see that record. Here the IDs were simple consecutive numbers, so changing one number showed someone else's licence and support messages. Anyone with an account could walk through the numbers and collect personal 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 manan_sanghvi

View all

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