User can pay using archived price by manipulating the request sent to `POST /v1/payment_pages/for_plink`
A user could pay an archived price for a product through a payment link by manipulating the request to the payment page endpoint. The missing validation allowed purchasing at a stale price instead of the current active price.
Originally disclosed on HackerOne
- Triaged in 7 days
- Fixed in 13 days
- Paid in 13 days
- Disclosed after 5 months
Summary by the program
@gregxsunday discovered a way to purchase a product with an archived price using a payment link. The bypass was possible because of missing validation. A change was shipped to ensure both the payment link and price are active.
Note: This bug was accepted and received before our minimum bounty amounts were increased on August 25, 2021.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the payment page endpoint did not verify that the price associated with the payment link was still active, allowing an archived price to be used.
What the attacker needed
Access to a payment link; ability to modify the request
The fix
A change was shipped to ensure both the payment link and price are active.
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 report has not been written yet. The Original tab links to the source.
A payment link normally uses the current price. Here, someone could change the request so the system used an old, archived price instead, because the system did not check that the price was still active.
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.