Unveiling Homoglyph: Silent Culprit of User-Level DOS Attacks
The application normalised homoglyph characters in email addresses to their ASCII equivalents, so registering with a homoglyph variant of an existing email blocked the original address from registering or resetting its password. An attacker could pre-register a homoglyph variant to deny service to the legitimate owner of that email address.
Published on medium.com
Assalam Alaikum everyone! Today I’m excited to share my first bug bounty write-up with you.
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 converted homoglyph characters in email addresses to ASCII before checking for duplicates, causing different Unicode strings to collide with the legitimate address.
Impact
An attacker could block a legitimate user from registering or resetting their password, but only if the attacker registers the homoglyph variant before the legitimate user registers.
What the attacker needed
Attacker registers before the victim; victim's email has a homoglyph variant
How it was found
- Register an account using a homoglyph variant of a target email address.
- Try to register the original email address and observe it is rejected as already in use.
- Try to reset the password for the original email address and observe no reset link is received.
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.
Some letters look identical but are actually different characters from other alphabets, called homoglyphs. The site treated these lookalike addresses as the same as the real one, so an attacker could sign up first with a lookalike and stop the real owner from signing up or resetting their password.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.