Skip to content
IDOR Write-up Beginner

[IDOR] $400 — Deleting Other Project in Shopee

An IDOR vulnerability allowed an attacker to delete another user's project by changing the shop_id parameter in a request. The attacker could delete all projects belonging to other accounts using a bruteforce method.

Tengku Arya Saputra Follow

Published on aryasec.medium.com

Bounty$400 View original

Hello everyone, introducing my name Tengku Arya Saputra (Follow my Linkedin) previously I have discussed about my discovery with a very critical vulnerability level with a bounty $6,400, on this occasion I will try to share my discovery on the shopee subdomain

Tengku Arya Saputra, on aryasec.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 application did not verify that the authenticated user owned the project being deleted, relying only on the shop_id parameter.

Impact

An attacker could delete all projects belonging to other users by bruteforcing shop IDs, potentially causing data loss.

What the attacker needed

A free account; victim has a project

How it was found

  1. Register an account and choose the Third Party Partner Platform option.
  2. Create a project on a Local Store account type with a free store area.
  3. Note the shop ID of account 1 and account 2.
  4. Delete a project in account 1 and capture the request.
  5. Replace the shop_id value in the request with account 2's shop ID.
  6. Send the request, which successfully deletes account 2's project.

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 an identifier like a number to refer to something, but doesn't check if you're allowed to access it. Here, the attacker changed the shop ID number in a request to delete someone else's project.

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 Tengku Arya Saputra

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.