Skip to content
IDOR Write-up Beginner

Easy IDOR lead to dislosed PII data leakage{Name, Username, Passw

A download endpoint used a numeric user ID that could be changed to retrieve other tenants' user lists. An attacker could download files containing usernames, passwords, email addresses and phone numbers from another tenant.

Abhishek Follow

Published on medium.com

I hope this message finds you well. After a long hiatus, I’m excited to share my latest blog post with you.

Abhishek (Bug Hunter), 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 download endpoint trusted a client-supplied numeric ID without verifying that the requesting user belonged to the tenant that owned the file.

Impact

An attacker could download another tenant's user list containing PII such as usernames, passwords, email addresses and phone numbers.

What the attacker needed

Access to the program; an account for at least one tenant; ability to send modified requests

The fix

The download endpoint should check that the requested user list belongs to the caller's tenant before returning it.

How it was found

  1. Set up accounts for two tenants in the program.
  2. Find the admin download button that retrieves a list of users.
  3. Notice a numeric ID in the download request.
  4. Send the request to Burp Intruder and test numeric values up to 44.
  5. Manually enter values to download a file containing another tenant's user data.

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 decide which file to show, and does not check that the person asking is allowed to see that file. Here, changing the number in the download request let the tester fetch another company's user list. The list included sensitive personal data such as passwords and contact details.

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.