Skip to content
Account takeover Write-up Intermediate

When One Google Account Isn’t Enough: Breaking Identity Bounda

The platform kept a Google SSO identity linked after the account's primary email was changed, so the old Google account could still log in. An attacker could also link a second Google account to the same platform account without the UI showing it, giving persistent stealth access.

Digvijay Gholase Follow

Published on systemweakness.com

During an in-depth exploration of a major platform’s identity management system, I uncovered a critical authentication confusion bug that allowed persistent access to an account even after its email had been changed. The issue stemmed from a flawed assumption: that changing the primary email address would sever the…

Digvijay Gholase, on systemweakness.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 platform treated linked SSO identities as permanent and did not revalidate or revoke them when the primary email changed, nor did it check for conflicts when linking a new SSO identity.

Impact

An attacker with access to the old Google account could silently re-enter the platform account at any time, and a second Google identity could be linked without the user seeing or being able to remove it.

What the attacker needed

A Google account; a platform account created via Google SSO; ability to change the account email; access to the old Google account

The fix

The platform should invalidate or revalidate linked SSO identities when the email changes, check for conflicts when linking a new SSO, and show all linked identities so users can remove them.

How it was found

  1. Register or log in using Google SSO with the first email address.
  2. Change the account email to a second address and confirm the OTP sent to it.
  3. Log out and log back in using Google SSO with the first email address; access is still granted.
  4. Log out and try Google SSO with the second email address; the platform offers to connect it.
  5. Enter the OTP sent to the second address to link that Google identity.
  6. Log out and log in again with the first email address; both Google identities remain linked.

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.

Single sign-on (SSO) lets you log in with another service, like Google, instead of a separate password. This report found that after a user changed their email, the old Google login still worked, and a second Google account could be quietly linked to the same account. That means someone with the old Google account could keep getting in, even though the user thought they had moved on.

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 Digvijay Gholase

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.