Price Parameter Tampering On Bukalapak
The shipping and total price parameters in the Buka Pengiriman transaction endpoint could be tampered with, allowing an attacker to set the price to an arbitrary low value. The attacker could then complete payment at the manipulated price, as confirmed by a successful transaction.
Published on apapedulimu.click
On the Thursday night, I feel boring on my rooms and then I try to do something to make my time is more valuable. After that I’m thinking of “How about I testing Bukalapak” .
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 accepted client-supplied price values without validating them against the expected amount.
Impact
An attacker could pay a reduced price for shipping services, potentially causing financial loss to the platform.
What the attacker needed
A seller account on Bukalapak; ability to intercept mobile app traffic
The fix
The server should validate the price and total parameters against the expected amounts before processing the transaction.
How it was found
- Identify the Buka Pengiriman feature and its transaction endpoint.
- Intercept the request to the endpoint that includes shipping and total parameters.
- Change the values of shipping and total to a low number.
- Observe that the response reflects the modified values.
- Proceed to the payment page and confirm the invoice shows the tampered price.
- Complete the payment and see the status return SUCCESS.
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 usually sent from your device to the server. If the server trusts that price without checking it, a malicious user can change it to a lower amount. This report shows that the shipping and total price could be changed to a small number, and the payment still 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.