Skip to content
Account takeover Write-up Beginner

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.

prayerskhristi Follow

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.

Prayers Khristi, 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 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

  1. Create an account using an email address with a collaborator domain.
  2. Log out and create a second account using a Unicode lookalike character in the email to impersonate the victim.
  3. Check if registration returns 'Account already exists' to confirm the vulnerability.
  4. Go to the forgot password page and enter the lookalike email address.
  5. Intercept the request and replace any encoded Unicode characters with the raw character before forwarding.
  6. 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.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.