Tow Senario To Pre Account TakeOver
Two account-takeover scenarios are described where an attacker registers or links an account using the victim's email address, and the victim later signs up or resets the password without realising the attacker's login method remains attached. The attacker could then keep signing in to the victim's account.
Published 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
Likely the application does not verify email ownership before allowing signup or email changes, and it keeps previously linked OAuth identities attached to the account.
Impact
The attacker could retain access to the victim's account, and the victim has no way to unlink the attacker's Google account.
What the attacker needed
Attacker knows victim's email; target offers OAuth signup; victim later signs up or resets password
The fix
The application should verify email ownership before completing signup or changing an email, and should require re-authentication and confirmation before linking or unlinking OAuth identities.
How it was found
- Open the target's OAuth signup option.
- Sign up using the victim's email address and the attacker's own password.
- Complete signup so the attacker is logged in but unverified.
- The victim then signs up using OAuth.
- The attacker's session becomes verified while the victim is unaware another person uses the account.
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.
An account takeover means someone else gets into your account and controls it. Here the attacker starts an account using the victim's email address, or links their own Google login to it, and the site never checks that the email really belongs to the person signing up. When the victim later registers or resets the password, the attacker's login stays connected, so the attacker can still get in.
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.