Betting more than max amount
The server did not enforce the maximum bet limit, allowing a user to modify the bet amount from 150 euro to 1000 euro by intercepting the request. An attacker could place bets exceeding the intended limit.
Originally disclosed on HackerOne
- Fixed in 18 hours
- Disclosed after 31 days
Hey Fantasytote,
This is not really a security issue since this won't leak any data of other users (or something like that) but i still wanted to tell you this because there must be a reason you guys limit the max bet to 150 euro (per bet).
You can reproduce this issue by betting 150 euro, intercepting the data and modifying it to 1000 euro. I uploaded this video to youtube (unlisted so only you can watch it.) Please watch my PoC video: https://youtu.be/ny6dLtu-xV0
How can I fix this? You can fix it by not only validating the bet amount client side but also validating it server side.
Could you please reopen my previous report since you can send the token to external websites. (Non Fantasytote websites.)
Ask me if you need anything, Karel.
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 server did not validate the bet amount against the maximum limit, relying only on client-side validation.
Impact
A user could place bets larger than the intended maximum amount.
What the attacker needed
A user account; ability to intercept HTTP requests
How it was found
- Place a bet of 150 euro.
- Intercept the request.
- Modify the bet amount to 1000 euro.
- Submit the modified request.
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.
When you place a bet, your browser sends the amount to the server. The server should check that the amount is not too high, but here it only checked in the browser. So someone could change the amount before it was sent and the server accepted it.
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.