Skip to content
Business logic Disclosed report Beginner

IDOR able to buy a plan with lesser fee

The order page accepted a currency parameter that changed the displayed currency without converting the amount, so a plan priced in euros could be bought for the same numeric amount in US dollars. An attacker could therefore pay less than the intended price.

ug0x01 Follow

Originally disclosed on HackerOne

  • Disclosed after 56 days

Summary

IDOR allows you to pay with the same amount but different currency. For example, paying 35000$ instead of 35000€

Steps To Reproduce

  1. Go to https://account.mailpoet.com/ and select a plan
  2. For example I have selected this plan; https://account.mailpoet.com/orders/new?p=214
  3. Now, as you can see payment currency is euro (33600€)
image.png
image.png From the original on HackerOne
  1. Add cur parameter as usd like {{media:1}}https://account.mailpoet.com/orders/new?p=214&cur=usd
  2. And now, we can buy it as 33600$ instead of 33600€
image.png
image.png From the original on HackerOne

##Suggested solutions Add an Dollar/Euro converter to your payment system

Cheers, @h1ugroon

Impact

Any user can pay a fee with a different value but the same root number instead of euros. For example, for a €33600 transaction, the fee difference is about $107, but the reason for this is the recent increase in the dollar. The user's profit rate varies according to the value of the money. About 1 month ago, this profit rate is around 630 dollars. Although this is not a critical problem, it is a vulnerability that reduces the profit margin

The original report as published on HackerOne, by ug0x01. 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 order page trusted a user-supplied currency parameter and applied it to the price without converting the amount.

Impact

Any user could pay a lower amount in a different currency for the same plan, reducing the vendor's profit margin; the reporter notes the difference varies with exchange rates and is not critical.

What the attacker needed

Access to the order page; ability to modify the URL

The fix

The payment system should convert the amount when a different currency is selected, rather than applying the currency to the same number.

How it was found

  1. Open the account signup page and choose a plan.
  2. Open the order page for the chosen plan.
  3. Note that the payment currency is euro.
  4. Add a currency parameter set to US dollars to the order page address.
  5. Complete the purchase at the same numeric amount but in US dollars.

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 page let the buyer choose the currency by changing a value in the web address. The site changed the currency symbol but did not change the number, so the buyer paid the same number in a weaker currency and spent less money.

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 by ug0x01

View all

1 more disclosed report, best first.

More from Automattic

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.