Username restrictions bypass on Hackerone program
The username field on a social platform only checked allowed characters in the browser, so a user could bypass the restriction by intercepting the save request and adding special characters. This allowed an attacker to create fake profiles that impersonate other users, such as 'Lisa.' or 'L!sa'.
medium.com
Published on medium.com
Hello guys👋👋 In this article, I’m going to talk about a How to bypass Username Restction and lead to create fake user name or fake organisation. I discovered in an HackerOne bug bounty program which i m going to represent as redacted that allowed me get to 100$ Reward 💵💶💷.
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 server did not validate the username characters and relied only on client-side checks.
Impact
An attacker could create fake profiles that impersonate other users, which could mislead program admins when verifying researchers.
What the attacker needed
A user account; ability to intercept HTTP requests
How it was found
- Go to the profiles page.
- Try to edit the username with special characters and see the error message.
- Enter a normal username, save, and capture the request in Burp Suite.
- Add special characters to the request and send it; the username is updated successfully.
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 website let people choose a username but only checked the characters in the browser, not on the server. By using a tool to change the request after the browser check, someone could use special characters and make a fake account that looks like another person's name.
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.