From Signup to Takeover: A Quiet OAuth Account Hijack
The website allowed account creation with an unverified email address, and later automatically linked a Google login with the same email to that pre-existing account. An attacker could therefore create an account using a victim's email and retain access after the victim logged in with Google.
medium.com
Published on medium.com
That means the attacker now has full access to the victim’s account — permanently — without the victim knowing.
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 application trusted an unverified email address during signup and then automatically linked a federated identity (Google) to an existing account based solely on matching email, without requiring email verification or a confirmation step.
Impact
The attacker could see and change everything in the victim's account, including personal details and payment methods, and could log in again at any time, while the victim receives no warning.
What the attacker needed
Victim's email address known; victim uses Google login with same email; no email verification on signup
How it was found
- The attacker creates an account with the victim's email using the normal signup form.
- The website does not ask to verify the email.
- Later, the real owner of that email logs in using Google login.
- The system sees the same email and links the new Google account to the old attacker-created account.
- Now, the attacker and the victim are both using the same account, and the attacker still has access.
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 up with an email, the site should check that you really own it. Here it did not, so an attacker could register using someone else's email. Later, when the real owner used Google login, the site connected their Google account to the attacker's account, giving the attacker continued access.
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.