A Quick Price Manipulation
The subscription payment request could be modified to change the price from 999 Rs to 1 Rs, and the system accepted the altered amount. An attacker could subscribe to the service at a much lower price.
Published on infosecwriteups.com
On July 13, 2023, I stumbled upon a security vulnerability in the popular online travel booking platform, Redacted.com. This website is widely used for booking hotels, flights, trains, and more.
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
An attacker could subscribe to the service at a much lower price, causing financial loss to the platform.
What the attacker needed
A user account on the platform; ability to intercept HTTP requests
The fix
The server should validate the price against the expected subscription price before processing the payment.
How it was found
- Select the subscription offer and choose the UPI payment option.
- Intercept the payment request using Burp Suite.
- Change the subscription price from 999 Rs to 1 Rs.
- Complete the payment and receive a confirmation email for the subscription at the modified 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 price is sent from your browser to the server. If the server trusts the price sent by the browser without checking it, a user can change it to pay less. Here, the subscription price was changed from 999 Rs to 1 Rs and the payment went through.
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.