Skip to content
Account takeover Write-up Intermediate

The Silent ATO

The application automatically merged accounts with the same email address, whether created via password or Google OAuth, without verifying ownership. An attacker could pre-register a victim's email with a password, then when the victim signed in with Google, the accounts were linked, allowing the attacker to log in and permanently delete the account.

omaroymdm Follow

Published on medium.com

We live in the age of convenience. A single click on “Sign in with Google” saves us from the password fatigue of modern life.

Omar Mahmoud, 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

The application blindly trusted the email address as a unique identifier and merged accounts without verifying that the person who created the password account actually owns the email.

Impact

An attacker could take over a victim's account and permanently delete it, causing loss of all data and access with no recovery path.

What the attacker needed

Attacker knows victim's email address; Victim has not yet registered; Victim uses Google sign-in

How it was found

  1. Attacker signs up with the victim's email address and a password of their choice.
  2. Victim later signs in using 'Sign in with Google' with the same email address.
  3. The application automatically merges the victim's Google identity with the attacker's password-protected account.
  4. Attacker logs in using the password they set and accesses the victim's account.
  5. Attacker navigates to account settings and deletes the account permanently.

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.

When you sign in with Google, the app trusts that the email address belongs to you. But if someone else already created an account with your email and a password, the app automatically links that account to your Google login. This means the attacker can use their password to access your account and even delete it.

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.

More by omaroymdm

View all

2 more disclosed reports, best first.

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.