Skip to content
IDOR Write-up Beginner

Sensitive Information Disclosure via IDOR

The website exposed an address ID in the URL, and changing it revealed another user's address and mobile number. An attacker could view other users' personal data by altering the ID parameter.

medium.com

Published on medium.com

Hi! I’m Disha, a cybersecurity researcher and bug hunter.

Dishasutariya22, 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 application did not verify that the user requesting the address ID actually owned that address, allowing any user to access others' data by changing the ID.

Impact

An attacker could view other users' addresses and mobile numbers, leading to privacy breaches and potential identity theft.

What the attacker needed

A user account; ability to add an address; use of a proxy tool like Burp Suite

The fix

The application should enforce access controls to ensure that users can only access their own address information.

How it was found

  1. Identify the vulnerable parameter, which was the address parameter in the URL.
  2. Capture the request in Burp Suite and send it to the Repeater.
  3. Modify the address ID in the Repeater request and check the response for another user's sensitive information.

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.

When you buy something online, the site often gives each address a unique number, like a label. If the site doesn't check that you own that number, you can change it to someone else's and see their details. This is called an IDOR (Insecure Direct Object Reference) and it lets attackers peek at other people's private information.

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.