Skip to content
Business logic Disclosed report Beginner

Business Logic, currency arbitrage - Possibility to pay less than the price in USD

The site's fixed EUR and USD prices did not track the exchange rate, so a buyer could switch the displayed currency and pay less in USD than the listed USD price. An attacker could exploit this to pay a lower amount for the same product.

xctzn Follow

Originally disclosed on HackerOne

Medium 6.7 View original
  • Disclosed after 2 months

Currency fluctuate all the time. Theses days EUR / USD key pair is around 1for1. It was even 1:0.99 when I was writing this report. Portswigger doesn't change dynamically the price and exchange rate dynamically.

Vulnerability at the following link: https://portswigger.net/buy/pro

When you want to buy a product choose the currency, you can noticed they are fixed and with today difference it's quite a big difference.

Impact

USD price is 399$USD, while EUR price is 349$. Therefore someone could just change the price to Euro and pay 347 $USD (349 Euro) instead of 399$(with current rate).

PS: It scale with the price, it could lead to thousands of dollars lost for your company.

The original report as published on HackerOne, by xctzn. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 application stored static per-currency prices instead of converting from a single base price using a current exchange rate.

Impact

A buyer could pay a lower USD amount than the listed USD price, and the loss could scale with the price to thousands of dollars.

What the attacker needed

Access to the purchase page; ability to select a currency

How it was found

  1. Go to the product purchase page.
  2. Choose a currency when buying a product.
  3. Notice the fixed prices differ from the current exchange rate.
  4. Switch to the Euro price to pay less in USD.

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 shop showed prices in different currencies, but the numbers were set once and never updated when exchange rates moved. Because one currency became worth more than the other, picking the cheaper-looking currency let a buyer pay less real money for the same item.

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.

More from PortSwigger Web Security

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.