Parameter Tampering ₹→$
The checkout flow accepted a manipulated currency parameter, converting the displayed price from INR to its USD equivalent while still labelling it as INR, allowing the attacker to pay a much lower amount. The attacker could complete checkout at the manipulated price.
Published on medium.com
I was specifically looking for parameter tampering vulnerabilities on a sports-based e-commerce website using burp suite. I was trying basic amount manipulation by changing the amount of money, but it didn’t work as there were some verifications at the backend which keep correcting the amount on checkout.
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 the client-supplied currency parameter to recalculate the price but did not update or validate the currency type used at checkout, so the converted amount was accepted as the original currency.
Impact
An attacker could buy products at a fraction of the intended price by manipulating the currency parameter, causing financial loss to the business.
What the attacker needed
A user account on the e-commerce site; ability to intercept HTTP requests (e.g., Burp Suite)
The fix
The issue was fixed according to the report.
How it was found
- Browse a sports e-commerce site and add a product to the cart.
- Intercept the checkout request in Burp Suite.
- Change the currency parameter from INR to USD.
- Observe the checkout still shows ₹ INR but with the USD-equivalent price.
- Complete checkout at the manipulated lower 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, your browser sends details like the price and currency to the shop's server. If the server trusts those details without checking them, a buyer can change them to pay less. Here, changing the currency code made the price drop to its dollar value, but the site still treated it as rupees, so the buyer paid far 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.