A Silent Account Takeover That Didn’t Make It — But Still
A logic flaw in account recovery allowed an attacker who pre-registered an account with a victim's email and linked a passkey to retain access even after the victim reset their password. The attacker could persistently log in and monitor or manipulate the victim's account.
This report was ultimately marked as “Informative” and rejected by the target program. However, the process of discovering, testing, and documenting the issue was an eye-opening and valuable journey for me — one that I believe is worth sharing.
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 password reset process did not invalidate all existing authentication methods, specifically passkeys, allowing them to remain valid.
Impact
The attacker maintains persistent access to the victim's account even after a password reset, allowing them to monitor or manipulate the account and access sensitive data.
What the attacker needed
Attacker registers before victim; Victim's email address known; No victim interaction needed
How it was found
- Attacker registers an account using the victim's email address.
- Attacker links a valid passkey to the account and disables secondary verification if possible.
- Victim tries to register but is told the email is already in use.
- Victim resets their password.
- Victim logs in and updates their profile data.
- Attacker can still log in using the previously registered passkey.
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.
Passkeys are a modern way to log in without a password, often using your phone or fingerprint. The problem was that resetting a password did not remove a passkey that someone else had added to the account. So even after the real owner reset their password, the other person could still get in using that passkey.
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.