Skip to content
IDOR Write-up Beginner

From “Just a Number” to a Privacy Leak: An IDOR Case Study

An IDOR in a multi-user admin dashboard allowed any authenticated user to view other users' action history entries by changing a numeric ID in the URL. This exposed email addresses, IP addresses, login methods, and activity timestamps.

medium.com

Published on medium.com

Access control vulnerabilities are among the most common — and most damaging — issues in modern web applications. One such class of vulnerability is Insecure Direct Object Reference (IDOR), where an application fails to properly enforce ownership checks on backend objects.

Tilaksingh Rana, 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 requested log entry belonged to the authenticated user before returning it.

Impact

An authenticated user could view other users' email addresses, IP addresses, login methods, and activity timestamps, leading to privacy loss and horizontal privilege escalation.

What the attacker needed

A valid user account; access to the action history page

The fix

The application should verify ownership of each log entry before returning it, linking entries to the logged-in user and blocking access otherwise.

How it was found

  1. Log in to the admin dashboard and open the Action History page.
  2. Click on a log entry to open its detail page, which has a numeric ID in the URL.
  3. Change the numeric ID in the URL to a different number.
  4. Observe that the page loads another user's action history instead of an error.

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 in the URL, to point to a record but does not check if the person asking is allowed to see that record. Here, any logged-in user could change the number and see someone else's activity log, which included private details like email and IP 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.

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.