Zero-Click Account Takeover via Unicode Homoglyph Email Collision
The application compared email addresses using an accent-insensitive collation, so an attacker could register a look-alike domain with an accented character and log in as the victim. The password-reset flow then sent the reset link to the attacker's typed address, enabling zero-click account takeover.
One accented letter in a domain name was all it took. I could log into someone else’s account, then quietly have their password-reset link delivered straight to my own inbox.
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 email field used an accent-insensitive database collation for lookups, and the password-reset email was sent to the raw user-supplied address rather than the canonical stored address.
Impact
An attacker could take over any account without victim interaction, and the takeover also defeats two-factor authentication.
What the attacker needed
Victim's email address known; attacker buys a look-alike domain; no victim interaction needed
The fix
The email should be canonicalised once (lowercase, NFC, punycode, reject non-ASCII) and compared exactly, and reset emails should only be sent to the stored canonical address.
How it was found
- Send the accented version of the victim's email to the sign-in endpoint with the victim's password to confirm it logs in.
- Register a look-alike domain containing an accented character and set up a mailbox to receive email there.
- Request a password reset using the accented address; the app folds it to the victim's account but sends the reset email to the attacker's typed address.
- Receive the victim's password-reset link in the attacker-controlled inbox.
- Follow the link, set a new password, and log in as the victim.
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.
Email addresses are normally treated as exact strings, but this app ignored accents, so 'ó' was treated the same as 'o'. An attacker could buy a domain that looks almost identical to the victim's and use it to receive the victim's password reset email, then take over the account without the victim doing anything.
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.