Skip to content
IDOR Write-up Beginner

How I Found a Critical PII Leak in a Public API | Cyber Tamarin

An API endpoint that returned club member data did not enforce authentication or authorisation, allowing anyone to retrieve full names, emails, phone numbers and student IDs by supplying a club ID. An attacker could enumerate club IDs to harvest complete datasets of personal information.

medium.com

Published on medium.com

When I start testing an application, I don’t immediately look for complex exploits.

Cyber Tamarin, 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 backend lacked authentication middleware on the endpoint and did not verify that the requester was authorised to access the referenced club's data.

Impact

The exposed personally identifiable information could enable targeted phishing, social engineering, identity misuse and regulatory violations, potentially affecting thousands of individuals.

What the attacker needed

No authentication required; Predictable numeric club IDs

How it was found

  1. Map the application's functionality and monitor network traffic in the browser's Network tab.
  2. Notice the endpoint GET /api/members?clubId=<id> with no Authorization header or session validation.
  3. Log out, clear cookies and session storage, then replay the request manually.
  4. Observe a 200 OK response containing full member data.

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 API is a way for apps to talk to each other. This one handed out personal details about club members to anyone who asked, without checking if they were logged in or allowed to see that data. The only thing needed was a club number, which could be guessed.

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.