Skip to content
Business logic Write-up Beginner

[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.

Kent Bayron Follow

Published on web.archive.org

Bounty$50 View original

Bug Bounty Writeup Web

Kent Bayron, on web.archive.org

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

  1. Create or sign up for an account.
  2. Go to the account details edit page.
  3. Intercept the update request.
  4. Add a nickname parameter to the JSON body.
  5. 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.

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.