IDOR Pada Website Jual Beli Indonesia
A shopping site accepted a user-supplied shipping cost when the buyer clicked pay, so the price of the shipping could be changed in the intercepted request. An attacker could set the shipping fee to zero (free delivery) or to an inflated amount, changing the total the buyer pays.
Halo semuanya,ini writeup pertama saya jadi tolong dimaklumkan jika banyak kekurangannya. Kebetulan saya menemukan bug IDOR pada Website Jual Beli Barang di Indonesia.
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 shipping cost value sent in the payment request instead of recalculating it from its own data.
Impact
A buyer could pay less by setting the shipping fee to zero, or inflate the fee, which the author suggests could leave the site owner covering the cost.
What the attacker needed
A buyer account on the site; a proxy tool to intercept requests
How it was found
- Open a product page and click the buy button.
- Choose a delivery method so a shipping fee is added.
- Intercept the payment request with a proxy tool.
- Change the shipping value in the request and submit it.
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 site sends the order details to its server, including the delivery cost. This site trusted the delivery cost that came from the buyer's browser instead of checking it on the server. That means a buyer could change the delivery fee before paying, for example to zero, and pay less than they should.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.