Skip to content
IDOR Write-up Intermediate

​​$1,200 Bounty — IDOR via Phantom API and Parameter Manipulation​

An undocumented admin API endpoint returned an empty 200 response when called without parameters, but accepted a manager_id parameter that allowed retrieval of any admin's personal information. An attacker could enumerate manager_id values to dump admin PII such as names, phone numbers, and emails.

Invik Follow

Published on medium.com

Today’s vulnerability is, well, technically a high-risk finding, but honestly quite simple — just a straightforward unauthorized access issue. Still, I think it’s somewhat interesting nonetheless.​​

Invik, 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 endpoint lacked proper authorisation checks and accepted a user-supplied manager_id parameter to select which admin's data to return, instead of restricting access to the logged-in user's own record.

Impact

An attacker could retrieve personal information of admin users, though the severity was capped at high due to the limited number of admin accounts.

What the attacker needed

Access to the mobile app; ability to intercept and modify API requests

How it was found

  1. Decompile the Android app and extract all API endpoints.
  2. Identify hidden endpoints prefixed with /manager that are not used in normal app flow.
  3. Request /manager/user without parameters and observe an empty 200 response.
  4. Fuzz parameter names such as id, userId, user_id, managerId, manager_id.
  5. Use Turbo Intruder to send requests with manager_id set to 6-digit numbers.
  6. Receive full admin PII in responses for valid manager_id values.

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 or app lets you access someone else's data just by changing an identifier like a number in a request. Here, a hidden admin endpoint was supposed to show only the logged-in admin's own details, but it also accepted a manager_id parameter that let anyone fetch any admin's personal information. The attacker simply guessed valid manager_id numbers to pull the data.

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.