Skip to content
Business logic Write-up Beginner

Case-Sensitivity Display name is worth 150$ bounty

The application allowed two accounts to have display names that differed only in letter case, so an attacker could register a name that looked almost identical to a real user's. When someone tried to message the real user, they could pick the attacker's near-identical name and send sensitive information to the wrong person.

mohaned0101 Follow

Published on medium.com

I discovered a security issue that allows attackers to impersonate another user by simply changing the case of letters in their display name.

mohaned haron, 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 did not treat display names as case-insensitive when checking for duplicates, so names differing only in letter case were allowed.

Impact

A user could mistakenly send passwords, tokens or private messages to the attacker instead of the intended recipient, causing a confidentiality breach.

What the attacker needed

Attacker can register an account; victim has a display name

The fix

The application should reject display names that match an existing name when letter case is ignored, or clearly distinguish them.

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.

A display name is the name other people see next to your messages. This site let two people have names that looked the same except for capital letters, like 'victim' and 'Victim'. Because the names and profile pictures looked alike, someone could send private information to the wrong account by mistake.

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 mohaned0101

View all

1 more disclosed report, 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.