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.
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
- Intercept the Save Information request to the account management endpoint.
- Copy the email field from the Business Profile update request.
- Insert the email field into the account management request.
- Replace the account ID with a target account's ID.
- 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.