Skip to content
IDOR Write-up Beginner

How I Found A Idor Issue In 5 Mins

A billing endpoint accepted a user ID parameter that was not checked against the caller's organisation, so a low-privileged member could retrieve another user's billing details. The attacker could read private information such as full name, address, IP address and partial credit card numbers.

Alp Follow

Published on infosecwriteups.com

In today’s write-up, I’ll explain how I found an IDOR issue in just 5 mins, lol. Keep reading the write-up.

Alp, on infosecwriteups.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 billing endpoint trusted the supplied user ID without verifying that the caller was an admin of the organisation that owned that user.

What the attacker needed

A free account; a second account as member; knowledge of another user's ID

How it was found

  1. Create an organisation and invite a second account as a member.
  2. Log in as the member and open the billing page.
  3. Observe the POST request to the billing endpoint with code and id parameters.
  4. Find organisation member IDs on the users endpoint.
  5. Replace the id parameter with the admin account's user ID and send the request.

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 lets you ask for a record by its ID but does not check that the record belongs to you. Here, a normal member could change a number in a request and see the billing details of another user, including part of their card number.

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 Alp

View all

5 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.