Skip to content
Business logic Disclosed report Beginner

Add more seats by paying less via PUT /v2/seats request manipulation

The seat-adding API rounds up the number of seats but calculates the price using only the integer part, so a decimal seat count adds more seats than it charges for. An attacker could add extra seats while paying less than the correct amount.

life__001 Follow

Originally disclosed on HackerOne

Medium 5.0 View original
  • Triaged in 7 hours
  • Fixed in 3 months
  • Paid in 31 hours
  • Disclosed after 5 months

Summary:

I could not fully test this vulnerability because the test plan must be completed for the payment process, that is, 30 days. But the price value in api also changes and if payment is made according to this value, wrong billing will occur.

The annual pro option for Team plan billing is $60 per seat. However, if the user enters a decimal number instead of an integer while adding a seat, the number is rounded up, but the price is only multiplied by the integer part. For example it would be like this :

JavaScript
seats = 5
amount = 300
bady.seats = 1.1

seats += Math.ceil(bady.seats)
// 5  +=             2
// seats : 7 

amount += Math.floor(bady.seats) * 60
// 300 +=                 1      * 60
// amount : 360 

Steps To Reproduce:

  • Register the app and finish the installation. help document
  • Create a new team.
  • Go to billing and listen to traffic with burp.
  • Add seat and capture the request with burp.
  • Replace the number of seats with 1.9
  • You will see that you have added 2 seats but the price has increased by $60.

We can reduce the price by adding and deleting seats.

Poc video -|

Impact

Attacker can manipulate membership price

The original report as published on HackerOne, by life__001. 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

Impact

An attacker could manipulate the membership price, potentially adding more seats than paid for.

What the attacker needed

A free account; ability to intercept and modify requests

How it was found

  1. Register the app and finish the installation.
  2. Create a new team.
  3. Go to billing and listen to traffic with burp.
  4. Add seat and capture the request with burp.
  5. Replace the number of seats with 1.9
  6. You will see that you have added 2 seats but the price has increased by $60.

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 buy seats for a team, the system should charge you for each seat you add. Here, if you ask for a fractional number of seats, the system gives you the rounded-up number of seats but only charges for the whole-number part, so you get extra seats for free.

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 Krisp

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.