Skip to content
Business logic Write-up Beginner

Breaking into the VIP Club: A Tale of Parameter Tampering Exploits

The VIP upgrade request sent the payment status and price as client-controlled JSON fields, so the server trusted the client's word on whether payment had been made. An attacker could set the paid flag to true (or change the amount) and receive VIP status without paying.

systemweakness.com

Published on systemweakness.com

Hello everyone! It’s been a year since I last wrote my write up.

Jody ritonga, on systemweakness.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 server trusted client-supplied values for payment status and price instead of determining them itself.

Impact

A user could obtain VIP status without paying, and the text notes the price could also be changed.

What the attacker needed

A free account; ability to intercept requests

The fix

The server should determine the price and payment status itself rather than accepting them from the client.

How it was found

  1. Open the main page and find the option to upgrade the account to VIP.
  2. Intercept the request sent when buying the VIP section.
  3. Notice the JSON body contains a paid flag and an amount under the user's control.
  4. Change the paid flag from false to true (and optionally change the amount).
  5. Check the profile and see the VIP border applied.

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 buy something online, your browser sends a request to the server saying what you want to buy. Here, that request also included a field saying whether you had already paid, and the server simply believed it. By flipping that field to 'paid', the user got the paid feature for free.

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.