Skip to content
IDOR Write-up Beginner

EventID: 119 — [SOC169 — Possible IDOR Attack Detected] —

A SOC analyst investigated an alert about a possible IDOR attack and found that the attacker changed a user_id parameter in a URL to retrieve other users' details. The logs showed differing response sizes, which the analyst took as evidence that data was returned successfully.

Dhakshineshwara Balaji Follow

Published on medium.com

In this walkthrough, we will analyse a letsdefend.io alert. Let’s start with alert information.

Dhakshineshwara Balaji, 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 trusted the user_id value supplied in the request without checking that the requester was authorised to access that user's records.

Impact

The attacker could obtain details of multiple users, and the analyst concluded the attack was successful.

What the attacker needed

Network access to the web application; a request containing a user identifier

How it was found

  1. Review the alert details and gather the source and destination addresses.
  2. Check the source address in threat intelligence services to judge whether it is malicious.
  3. Search the web logs for traffic between the attacker address and the server.
  4. Inspect the requested URLs and notice the user_id parameter was changed.
  5. Compare response sizes to judge whether data was returned.

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 happens when a website uses a value like a user number in the address to decide which record to show, but never checks that the person asking is allowed to see it. By changing that number, someone can view other people's data. Here the analyst saw requests where the user number was altered and responses of different sizes came back.

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.