Skip to content
Business logic Write-up Intermediate

Homoglyph-based Email Identity Collision in a Secure Email Platform

The signup API accepted email addresses containing Cyrillic homoglyph characters that the frontend rejected, creating two visually identical but distinct accounts. An attacker could impersonate a legitimate sender because the UI showed no difference between the accounts.

pophacker996 Follow

Published on medium.com

The primary purpose of this platform is to enable users and organizations to exchange emails securely, with a strong emphasis on trust, identity assurance, and message authenticity.

Bavly Zaher, 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 backend did not normalise Unicode characters in email addresses before storing or displaying them, so visually identical characters were treated as different identities.

Impact

An attacker could create an account that appears visually identical to a legitimate one, allowing impersonation and causing messages to be attributed to the same apparent sender.

What the attacker needed

Ability to intercept HTTP requests; a valid email address for initial signup

The fix

The backend should apply Unicode normalisation and enforce the same email validation as the frontend before storing or displaying addresses.

How it was found

  1. Register a normal account with an ASCII email address.
  2. Try to register a homoglyph email through the UI and see it rejected.
  3. Intercept the signup request with a proxy.
  4. Replace the email parameter with the homoglyph version and forward it.
  5. Observe that the backend accepts the request and creates a second 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.

Some letters look the same but are actually different characters in a computer's memory, like a Latin 'a' and a Cyrillic 'a'. The website's signup form blocked the Cyrillic version, but the server behind it did not, so someone could create a second account that looked exactly like a real one. This let an attacker send messages that appeared to come from the trusted account.

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.

More by pophacker996

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.