Skip to content
IDOR Write-up Beginner

How I Found an IDOR and Got Paid

The API endpoint for team members did not enforce authorization checks, allowing any authenticated user to access members of any team by changing the team ID. An attacker could view other teams' member details including roles, hashed emails, and usernames.

medium.com

Published on medium.com

Bug bounty hunting has become more than just a hobby for many of us — it’s a mix of curiosity, caffeine, and that sweet adrenaline rush when you finally spot something off. This is a quick write-up about a simple but impactful IDOR (Insecure Direct Object Reference) bug I found — and how it turned into a nice bounty.

Ousski, 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 API endpoint failed to verify that the authenticated user belonged to the requested team before returning member data.

Impact

Any authenticated user could access sensitive member information (roles, hashed emails, usernames, and other internal details) from any team, potentially leading to privacy breaches and further attacks.

What the attacker needed

A free account; knowledge of another team's ID

How it was found

  1. Create two accounts, Account A and Account B.
  2. While logged in as Account A, find the endpoint GET /teams/{team_id}/members in Burp Suite history.
  3. Change the team_id parameter to Account B's team ID.
  4. Observe that the response returns all of team B's member details.

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) is when a website uses a user-supplied value, like a team ID, to look up data without checking if the user is allowed to see it. Here, any logged-in user could change the team ID in the request and see another team's member list. This is a common access control mistake.

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.