️♂️ How I Bypassed the “Admin” Name Filter on exampl
A display name filter blocked the reserved name 'Admin' but only by exact character match, so replacing one letter with a visually identical Unicode homoglyph let the name through. An attacker could then impersonate an official or trusted name to deceive users, for example in phishing.
Published on icecream23.medium.com
One late-night bug hunting session led me down a rabbit hole on example.target.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 filter compared the display name against a blocklist using exact code-point matching without normalising or restricting Unicode lookalike characters.
Impact
An attacker could register a display name that looks like a trusted brand or official account, which could help trick users into trusting them or into phishing; the text does not claim any technical exploitation beyond impersonation.
What the attacker needed
A user account able to edit a display name
The fix
The filter should normalise Unicode input and block confusable homoglyphs, or restrict display names to a safe character set, rather than matching only exact strings.
How it was found
- Open the user profile editor and try to set the display name to the reserved word, which is rejected.
- Replace one letter of the reserved word with a visually identical Unicode homoglyph.
- Submit the modified name as the display name.
- Observe that the name is accepted and looks identical to the forbidden one.
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 websites stop you from using names like 'Admin' so nobody can pretend to be the real administrator. But computers compare letters by their underlying code, and many different codes can look exactly the same to a human eye. The researcher swapped one letter for a lookalike from another alphabet, and the filter no longer recognised the forbidden word.
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.