Skip to content
Business logic Disclosed report Beginner

Unlimited fake rate to the passenger in city to city, Affected endpoint `/api/v1/reviews/ride/<ID>/driver`

The driver review endpoint accepted a rating value above the intended maximum, so a driver could submit an inflated score for a passenger. This let the passenger's profile rating be pushed higher than the normal scale allows.

bugsv2 Follow

Originally disclosed on HackerOne

  • Triaged in 27 hours
  • Fixed in 10 months
  • Paid in 9 days
  • Disclosed after 10 months

Summary by the program

The report

Summary:

Hey Kirill, Hope you are doing well today Inshallah <3

I found a bug today allowing to increase the profile rate for the passenger !!

Let’s Start reproducing directly ..

Steps to reproduce:

  1. First of all, We gonna create a normal city to city shared ride, Then join it with any normal passenger’s account and complete it ..

  2. At the end of the ride, After the passenger marks it as completed, The driver can rate the passenger !!

  3. The request is like this:

    POST /api/v1/reviews/ride/███/driver HTTP/2
    Host: intercity-3.eu-east-1.indriverapp.com
    X-City-Id: 9415
    Accept-Language: en_US
    X-Os-Type: android
    X-App-Flavor: indriver
    X-App: android 5.41.1
    ██████
    Authorization: Bearer █████
    Traceparent: ██████
    Content-Type: application/json; charset=utf-8
    Content-Length: 32
    Accept-Encoding: gzip, deflate
    User-Agent: okhttp/4.10.0
    
    {"message":"Prince","rating":5}
    
  4. Just change the "rating":5 to any higher number, like: "rating":55

  5. 200 OK !!

  6. and The final profile for the passenger is:

    ████████

  7. Thank You <3

Impact

  • Getting higher the driver’s profile rate in city to city, Which is in an application like indriver This should not NEVERRRRR be happened !!

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

A driver could push a passenger's profile rating above the normal scale.

What the attacker needed

A driver account; a completed city-to-city ride with a passenger

How it was found

  1. Create a normal city-to-city shared ride and join it with a passenger account, then complete it.
  2. After the passenger marks the ride completed, the driver rates the passenger.
  3. Capture the review request sent to the driver review endpoint.
  4. Change the rating value to a number higher than the normal maximum.
  5. The server responds with 200 OK and the inflated rating appears on the passenger's profile.

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 finish a ride, the driver can give the passenger a score, usually from 1 to 5. The server trusted whatever number the app sent instead of checking it was within that range. By sending a much bigger number, the score on the passenger's profile could be pushed far above normal.

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 bugsv2

View all

4 more disclosed reports, best first.

More from inDrive

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.