Skip to content
IDOR Write-up Beginner

**A Critical IDOR Vulnerability That Allowed Deletion & Modification of (Any) User’s Address (**Mass Address Deletion & Account Data Manipulation)

The application failed to verify that an address belonged to the authenticated user, allowing an attacker to modify or delete any user's address by changing the numeric address identifier. Because identifiers were sequential, an attacker could enumerate and mass-delete or modify all user addresses.

Mustafa Adam Gamaraldin Abdalla Follow

Published on wadgamaraldeen.medium.com

Hello Hunters, This is a new Write up about another exiting finding ,Its about How A Critical IDOR Vulnerability Allowed Deletion & Modification of (Any) User’s Address.

Mustafa Adam Gamaraldin Abdalla, on wadgamaraldeen.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

Impact

An attacker could delete or modify any user's address, and because IDs were sequential, could systematically enumerate and mass-delete or modify all user addresses, causing data integrity loss and potential order delivery disruptions.

What the attacker needed

A free account; victim has a saved address; sequential predictable IDs

The fix

The application should enforce ownership validation on every request, derive user identity from the session rather than client input, and use indirect references such as UUIDs instead of sequential IDs.

How it was found

  1. Create two accounts, one as attacker and one as victim, and note their address IDs.
  2. Capture the request used to update an address, which includes the address ID in both the URL and the body.
  3. Change the address ID to the victim's ID while keeping the attacker's session cookie.
  4. Send the modified request to modify or delete the victim's 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.

An IDOR (Insecure Direct Object Reference) happens when a website uses a simple identifier, like a number, to refer to a user's data but does not check that the person making the request actually owns that data. Here, the address ID was a predictable number, so changing it let an attacker edit or delete someone else's saved address.

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 Mustafa Adam Gamaraldin Abdalla

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.