How i found account takeover in private bug bounty program of bug
The platform accepted email addresses with extra subdomains and Unicode lookalike characters without normalising them, so two different-looking addresses were treated as the same account. An attacker could register with a crafted address and then use a lookalike address on the password reset page to receive a reset link for that account, leading to account takeover.
Published on cybersecuritywriteups.com
Assalam o alaikum for muslim brothers and hello for non muslims, i hope all of you are doing well and learning new things day by day.
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 did not normalise or consistently validate email addresses (including Unicode and Punycode domains) before comparing or storing them, so signup and password reset treated different-looking addresses as the same account.
Impact
An attacker could take over any account by crafting a lookalike email address, potentially exposing personal data, marketing lists, campaigns, and API keys; the text does not mention any defence that limited the exploit.
What the attacker needed
Ability to register an account; access to the password reset page; no authentication needed
The fix
Email inputs should be lowercased and normalised, Unicode and Punycode domains converted to a safe format, suspicious extra dots or fake domains rejected, and signup and password reset must share the same validation logic.
How it was found
- Register an account using an email address with an extra fake subdomain appended after a normal address.
- Go to the Forgot Password page and enter a slightly different address that includes a Unicode lookalike character.
- Receive the password reset link and use it to gain full access to the previously registered 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.
Email addresses can contain characters that look almost identical to normal letters, and some systems treat them as the same. Here, the signup and password reset pages checked emails differently, so a slightly altered address could receive a reset link for someone else's account. This let an attacker take over accounts without knowing the password.
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.