Skip to content
Business logic Write-up Beginner

TikTok Bug Bounty — $250

TikTok's username format validation allowed users to bypass restrictions on special characters. An attacker could create usernames that violated the intended format rules.

medium.com

Published on medium.com

Bilal Hussain, a security researcher from Birmingham, was awarded $250 for identifying and responsibly disclosing a vulnerability in TikTok’s username format validation system. This security flaw allowed users to bypass TikTok’s restrictions on special characters in usernames, a rule typically enforced to maintain…

Bilal Hussain, 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 username validation logic did not properly enforce the special character restrictions.

Impact

Users could bypass the intended username format restrictions, potentially leading to misuse of the platform.

What the attacker needed

None

The fix

TikTok patched the vulnerability to ensure usernames adhere to the intended format restrictions.

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.

Usernames usually have rules about which characters are allowed. This bug meant someone could get around those rules and use special characters that should have been blocked. The researcher reported it and TikTok fixed it.

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.

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.