[PART 2] Anyone can use unlimited Trial Premium on accounts that have used Trial Premium before
The checkout request for upgrading a LinkedIn Premium subscription accepted a manipulated set of parameters, allowing the total order price to be reduced to zero. An attacker with a Premium subscription could obtain a paid Premium upgrade for free by removing certain parameters from the request.
When our previous report #1808719 was Resolved. We found the Bypass solution for that.
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 calculated the order total based on client-supplied price and promotion parameters without validating them against the actual product and promotion rules.
Impact
An attacker with a Premium subscription could obtain a paid Premium upgrade for free, though the first attempt could not be reproduced and a second parameter removal was needed.
What the attacker needed
A LinkedIn account with Premium subscription
How it was found
- Log in with an account that has a Premium subscription.
- Open the Upgrade and Claim Offer page and select the offer.
- Capture the checkout request that includes product, price, promotion, and service ID parameters.
- Remove the serviceIdSwitchingFrom parameter (and later also optionalPriceIds) from the request.
- Observe that the order total becomes IDR 0.00.
- Complete the order at zero cost.
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 with details like which product and what price. Here, the server trusted the price details sent by the browser instead of checking them itself. By removing some of those details, the price shown became zero, and the order could be completed 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.