Skip to content
IDOR Write-up Beginner

IDOR leads to leak private user’s data

An online shop's community subdomain exposed private user data through a URL parameter called id. By changing the id value, an attacker could view another user's private information.

banertheinrich Follow

Published on medium.com

Unfortunately, none of these methods revealed any vulnerabilities. As part of my standard process, I turned to waybackurls to extract historical URLs related to the target domain.

Adham Heinrich, 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 server did not verify that the requesting user was authorised to access the data for the given id.

Impact

The vulnerability could lead to breaches of user privacy and violation of data protection regulations such as GDPR.

What the attacker needed

Access to the community subdomain; a user id parameter in the URL

The fix

The site should implement proper access controls so every request is validated to confirm the user's permissions for the requested resource.

How it was found

  1. Use waybackurls and grep for 'token' to find historical URLs on the target domain.
  2. Access the discovered URLs on the community subdomain and notice sensitive user data displayed.
  3. Intercept requests with Burp Suite and find an id parameter in a user URL.
  4. Change the id value to another user's ID and send the request.
  5. Receive a response containing private information about another user.

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.

A website sometimes uses a number in the web address to pick which user's page to show. If the site does not check that you are allowed to see that user's page, you can just change the number and see someone else's private details. This is called an IDOR, short for Insecure Direct Object Reference.

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 banertheinrich

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.