[Business Logic] Bypassing Nickname Feature
The account details update endpoint accepted an extra JSON parameter for the nickname, which was meant to be unchangeable. An attacker could set their nickname to any value they wanted.
Published on web.archive.org
Bug Bounty Writeup Web
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 restrict which JSON fields it accepted when updating account details, so an extra nickname parameter was processed.
Impact
An attacker could change their own nickname to any value, bypassing the intended restriction.
What the attacker needed
A user account
How it was found
- Create or sign up for an account.
- Go to the account details edit page.
- Intercept the update request.
- Add a nickname parameter to the JSON body.
- Send the modified request and observe the nickname change.
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.
When you edit your profile, the app sends your changes as a JSON object. The server should only accept the fields it expects, but here it also accepted a nickname field that was supposed to be fixed. This let the user change something they were not supposed to change.
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.