Skip to content
IDOR Write-up Intermediate

Mass Account Takeover in Stripe’s TaxJar: A One-Click Exploit!

An account management endpoint accepted an email field from a different profile update request, allowing an attacker to change the email address of any account by knowing its account ID. This enabled mass account takeover.

medium.com

Published on medium.com

👋 Hey folks! Today, I’m thrilled to share with you a jaw-dropping vulnerability I discovered in Stripe’s bug bounty program.

Ahmed Samir Ghallab, 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 account management endpoint lacked proper authorization checks and accepted a user-controlled email parameter, allowing modification of arbitrary accounts.

What the attacker needed

Knowledge of target account ID; ability to send HTTP requests

How it was found

  1. Intercept the Save Information request to the account management endpoint.
  2. Copy the email field from the Business Profile update request.
  3. Insert the email field into the account management request.
  4. Replace the account ID with a target account's ID.
  5. Send the request and observe the email update.

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.

A website let users update their email through one form, but another form for managing accounts also accepted an email field. Because the server did not check who owned the account, anyone could change another person's email and then reset their password to take over the account.

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.