Skip to content
Business logic Write-up Beginner

How a Small Validation Bypass Enabled Invisible Identities

Name fields accepted zero-width Unicode characters as valid input, so accounts and organisations could be created with visually blank names. An attacker could then act under an invisible identity, making actions in logs and member lists hard to attribute.

eng.mahmoudbughunter Follow

Published on medium.com

What makes this bypass particularly dangerous is that it doesn’t rely on classic tricks like null bytes. Zero-width Unicode characters are far more powerful — the input is technically non-empty, yet visually nonexistent.

Mahmoud Farag, 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 name validation only checked that the input was non-empty after trimming, without stripping or rejecting zero-width Unicode characters, and its whitespace normalisation was inconsistent.

Impact

An attacker could create accounts, organisations, teams and API keys with invisible names, so their actions in logs and member lists could be hard to attribute; the text also suggests possible email identity confusion in weak systems.

What the attacker needed

Ability to submit name fields; a free account or invite

The fix

The application should strip or reject zero-width and other invisible Unicode characters in name fields and apply consistent whitespace normalisation before validation.

How it was found

  1. Send a registration request with a normal name to see the expected behaviour.
  2. Replace the name value with zero-width Unicode characters and observe that the application blocks it.
  3. Notice that a single space followed by an English character is automatically removed, showing normalisation.
  4. Insert two consecutive spaces before the zero-width payload and resend the request.
  5. Observe that the validation accepts the input and the account is created with a blank-looking name.

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 characters, called zero-width characters, take up no visible space on screen but are still real text. The application checked that a name was not empty but did not remove these invisible characters, so it accepted a name that looks blank. This lets someone create an account or organisation that appears to have no name, which makes it harder to tell who did what.

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 eng.mahmoudbughunter

View all

3 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.