Skip to content
IDOR Write-up Intermediate

VRP [IDOR] Menghapus dan Melihat Data Korban

An endpoint on Google Ads accepted a request body containing a victim's customer ID and business ID, and the server acted on those values without checking that the caller owned them. An attacker who obtained those identifiers could view a victim's advertising data and delete worker and employee records remotely.

anvilleofficial Follow

Published on medium.com

Assalamualaikum hai, saya Akbar dari Surabaya disini saya akan menjelaskan POC (Proof of concept) yang saya temukan dan sudah di fixed oleh pihak terkait. Sesuai dengan judulnya, penyerang dapat melihat data korban + menghapusnya

barr, 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 backend trusted the customer and business identifiers supplied in the request body and never verified that the authenticated user was authorised for them.

Impact

An attacker with a victim's identifiers could view their advertising data and delete worker and employee records remotely; the author reports the issue was fixed.

What the attacker needed

Attacker account on the ads platform; victim's customer and business IDs; victim's employee identifier for deletion

The fix

The report states the issue was fixed by the vendor, though it does not describe the change.

How it was found

  1. Find a victim's customer ID and business ID, for example from archived URLs.
  2. Put those identifiers into the request body parameter.
  3. URL-encode the body and send it to the ads endpoint with the attacker's session.
  4. Read the returned victim data.
  5. Send a modified body with the employee identifier to delete worker and employee records.

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.

Every account on a website has an identifier, like a customer number. A safe site checks that the person making a request actually owns the account that number belongs to. Here the site did not check, so anyone who knew or guessed another person's number could read and delete their data.

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.

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.