No Auth, No Problem: The API Vulnerability That Led to Full Account Takeover
A partner portal API endpoint accepted an email address and a new password without any authentication or verification, allowing an attacker to reset any user's password. An attacker could then log in with the new password and take over the account.
Recently, while exploring a partner portal of a major platform, I uncovered a critical zero-click account takeover vulnerability that could allow an attacker to take control of any user’s account — with nothing more than their email address.
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
The password reset endpoint performed no authentication or identity verification before updating the password for the supplied email address.
Impact
An attacker could fully take over any registered user's account with no user interaction, potentially accessing sensitive business or personal data.
What the attacker needed
Victim's email address; network access to the endpoint
The fix
The password reset endpoint should require authentication or a verification token before changing a password.
How it was found
- Replace the email field with the victim's email address.
- Choose any new password.
- Send the HTTP request to the vulnerable endpoint.
- Log in with the victim'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.
A password reset endpoint is supposed to check that the person asking really owns the account, usually by sending a code or a link to the email address. Here the server skipped that check entirely and just changed the password for whatever email was supplied. Anyone who knew a victim's email address could set a new password and log in as them.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.