Skip to content
Business logic Write-up Beginner

How I Found a Critical Billing Bug but Ended Up with a Duplicate

The platform accepted a client-supplied price during checkout, so a user could change the annual subscription cost from $540 to $1 and complete payment at the reduced amount. The author confirmed this by paying $1 for the subscription.

aminouji23 Follow

Published on medium.com

📖 “وَالَّذِينَ جَاهَدُوا فِينَا لَنَهْدِيَنَّهُ� ْ سُبُلَنَا وَإِنَّ اللَّهَ لَ� َعَ الْ� ُحْسِنِينَ

Aminouji, 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 server trusted a price value supplied by the client during checkout instead of recalculating it from its own pricing data.

What the attacker needed

A user account on the platform; ability to intercept and modify requests; a payment card

How it was found

  1. Choose the $9/month plan and observe the annual total of $540.
  2. Inspect the checkout request in Burp Suite and find the price value.
  3. Use Match and Replace to change the price to $1 automatically.
  4. Reload the page and confirm the backend also shows $1.
  5. Complete checkout with a card and pay $1 for the $540 subscription.

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 details to the server, including the price. Here the server trusted the price sent by the browser instead of checking its own records. That let the buyer pay much less than the real cost.

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.