Skip to content
IDOR Write-up Intermediate

Silent Account Takeover: How an IDOR and Password Reset Poisoning Lead to a 0-Click Account Takeover

An IDOR exposed user data and password hashes via sequential IDs, and a password reset endpoint returned the reset token in its response and accepted store ID, name, and email instead of the token to change passwords. An attacker could silently take over any store account without victim interaction.

Snillx 🇧🇷 Follow

Published on infosecwriteups.com

First of all, I hope you’re doing well today. In this article, I’ll walk through how I discovered and chained three vulnerabilities (IDOR, Password Reset Poisoning, and Zero-Click Account Takeover) to gain access to anyaccount on ane-commerce platform.

Snillx 🇧🇷, 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 used sequential numeric IDs for user data without authorisation checks, and the password reset endpoint returned the reset token in its response and did not require the token to authorise a password change, relying instead on easily obtainable identifiers.

Impact

An attacker could silently take over any store account on the platform without any interaction from the owner, and could also access personal data and password hashes of users across all stores.

What the attacker needed

A free account on the platform; ability to intercept HTTP requests; knowledge of target store ID, name, and email

How it was found

  1. Browse the store with Burp Suite and observe requests to an external server that include a numeric id parameter.
  2. Create an account and note the request that retrieves account information using a sequential numeric ID.
  3. Change the ID in the request to another user's ID to retrieve their personal data and password hash.
  4. Create a store on the platform and use the forgot password feature, observing that the reset token is exposed in the response.
  5. Use the password change request, modifying the store's ID, name, and email to those of a target store, and set a new password.
  6. Log in with the target store owner's email and the new password.

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 simple number or identifier to fetch data and does not check if you are allowed to see it, so changing the number shows someone else's information. Password reset poisoning here means the reset process trusted details like store ID and email instead of a secret token, letting an attacker set a new password for any account. Together, these flaws let someone take over accounts without the owner doing anything.

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.