Skip to content
IDOR Write-up Beginner

How I Was Able To Takeover All User Account And Admin Panel

The user edit page used a sequential numeric identifier in the URL without checking whether the logged-in user was allowed to edit that account. By changing the identifier, an attacker could edit any user's account, including the administrator's, and take over all accounts.

Dipak kumar Das Follow

Published on addictivehackers.blogspot.com

Bounty$1,500 View original

The original lives on addictivehackers.blogspot.com

We do not hold its text, 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 server trusted the user ID supplied in the URL and did not verify that the authenticated user owned that account.

What the attacker needed

A valid account on the site; access to the user edit page

The fix

The issue was fixed by the program four days after it was reported.

How it was found

  1. Log in through SSO and reach the subdomain.
  2. Read robots.txt to find hidden directories such as /admin and /user.
  3. Open the /user directory, which redirects to your own edit page with a numeric user ID.
  4. Change the numeric ID in the URL to another user's ID and see their edit page.
  5. Create a second test account to confirm you can change its password and email.
  6. Change the ID to 1 to reach the admin panel and change the admin's password and email.

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.

Many websites put a number in the address bar to say which account you are looking at, for example /user/16397/edit. The site did not check that the person asking to edit account 16397 was actually that user. So anyone could change the number to another user's number and edit their details, including the admin's.

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 Dipak kumar Das

View all

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