Skip to content
Account takeover Write-up Beginner

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.

akr3ch Follow

Published on akr3ch.medium.com

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.

akr3ch, on akr3ch.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

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

  1. Replace the email field with the victim's email address.
  2. Choose any new password.
  3. Send the HTTP request to the vulnerable endpoint.
  4. 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.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.