Skip to content
IDOR Write-up Beginner

IDOR which allowed me to view Personal Email Addresses of More than 50K Users!

A password-reset page on a subdomain accepted a numeric ID in a GET parameter and echoed the associated user's personal email address in the response. By changing the ID, an attacker could enumerate sequential IDs and harvest the private email addresses of roughly 50,000 users.

Savir Suda Follow

Published on web.archive.org

This is My First Blog and I am really excited about it at the time of writing this. I have been trying to take out time to write this finding up for a while now but haven’t been able to do so because of other important things, anyways finally here we are.

Savir Suda, on web.archive.org

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 endpoint looked up a user record by a sequential numeric ID taken from the request and returned the associated email without any authorisation check.

Impact

An attacker could leak the private email addresses of about 50,000 users without any user interaction, enabling privacy violations and future targeted attacks.

What the attacker needed

No account needed; no victim interaction

The fix

The endpoint should verify that the requester is authorised for the referenced account, or avoid exposing user records through predictable identifiers.

How it was found

  1. Find the password-reset endpoint on the subdomain, including its ID parameter.
  2. Request the page with an ID value and observe a user's email address in the response.
  3. Change the ID to a different number and confirm a different user's email is returned.
  4. Run an automated brute force over the ID range to collect many addresses.

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, such as a number in the URL, to decide which record to show, but never checks whether the person asking is allowed to see that record. Here the page simply looked up whichever user matched the number and printed their email back, so anyone could walk through the numbers and collect addresses.

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 Savir Suda

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.