Business Logic Vulnerability in Subscription Checkout
The checkout request accepted a client-supplied fare identifier without checking whether the user was entitled to that price, so changing the number selected a different internal price for the same bundle. An authenticated attacker could obtain premium subscriptions for free or at a lower price.
medium.com
Published on medium.com
Here’s my write-up on a Business Logic vulnerability I discovered while testing a subscription checkout workflow on a Public BBP let’s break it down step by step.
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
Impact
Any authenticated user could activate premium subscriptions for free or at a reduced price, causing revenue loss and allowing subscription abuse at scale.
What the attacker needed
A valid account; access to the subscription checkout page
The fix
Pricing should be computed server-side, the client-supplied fare identifier should not be trusted, and the server should validate that the selected bundle matches its own pricing logic and reject unauthorised fare identifiers.
How it was found
- Log in to a valid account.
- Go to the premium subscription purchase page.
- Select any paid bundle normally.
- Intercept the payment request.
- Change the fare identifier to another valid value for the same bundle that is free or cheaper.
- Observe the same bundle offered at the lower or zero price.
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, the website should decide the price on its own server. Here, the browser sent a number that told the server which price to use, and the server trusted it. By changing that number, a logged-in user could make a paid subscription cost nothing or much less.
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.