Easiest Zero-click Account Takeover you’ll ever find
The application normalises Unicode characters in email addresses, so a visually similar character can be used to register an account that collides with an existing victim's email. An attacker can then trigger a password reset for the victim's email and receive the reset link, leading to account takeover.
Published on medium.com
“And the forgot password link was sent to attacker’s mail, instead of victim’s mail” 😈 Oops, maybe we just went too ahead.
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 normalises Unicode or Punycode characters in email addresses before comparing them, causing distinct-looking addresses to be treated as identical.
Impact
An attacker could take over a victim's account without any action from the victim, by receiving the password reset link.
What the attacker needed
A free account; victim has an account; attacker can receive emails
The fix
The application should normalise email addresses consistently and reject or canonicalise Unicode lookalikes before storing or comparing them.
How it was found
- Create an account using an email address with a collaborator domain.
- Log out and create a second account using a Unicode lookalike character in the email to impersonate the victim.
- Check if registration returns 'Account already exists' to confirm the vulnerability.
- Go to the forgot password page and enter the lookalike email address.
- Intercept the request and replace any encoded Unicode characters with the raw character before forwarding.
- Check the collaborator inbox to receive the password reset link intended for 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 can contain special characters that look almost identical to normal letters. If a website treats these lookalike addresses as the same, an attacker can create an account that the system confuses with someone else's. Then, when the victim asks to reset their password, the reset link goes to the attacker instead.
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.