Skip to content
IDOR Write-up Intermediate

I Found 15 Critical Vulnerabilities in One Afternoon

The application had multiple vulnerabilities including an IDOR that exposed admin profile data and allowed password reset, plus other flaws like stored XSS, unrestricted file upload, and RCE. An attacker could chain these to compromise accounts and execute commands on the server.

infosecwriteups.com

Published on infosecwriteups.com

The adrenaline rush of a successful bug bounty hunt, followed by the weight of responsibility.

Ismail Tasdelen, 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 application relied on client-side controls and failed to enforce proper access checks and input validation on the server side.

Impact

An attacker could access sensitive user data, reset any user's password, escalate privileges, execute arbitrary commands, and fully compromise the application.

What the attacker needed

A free account; knowledge of API endpoints; ability to send crafted requests

The fix

The vulnerabilities should be fixed by implementing strict access controls on every API endpoint, enforcing server-side validation, and following the principle of least privilege.

How it was found

  1. Map the application's subdomains and endpoints using tools like subfinder and ffuf.
  2. Capture traffic with Burp Suite while creating accounts with different roles.
  3. Analyse API endpoints, focusing on GraphQL and REST APIs.
  4. Request /api/v1/users/1 to access an administrator's profile via IDOR.
  5. Use the admin's user ID to submit a POST request to the password reset endpoint.
  6. Test other endpoints using the admin's ID, such as role update and file upload.

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.

This is a story about a security researcher who found many bugs in one website in a single afternoon. The main bug was that the website used simple numbers to identify users, so by changing the number in the web address, the researcher could see other people's private information, including an administrator's. That then let them try to reset the administrator's password and do other harmful things.

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.