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.
- 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:
-
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 ..
-
At the end of the ride, After the passenger marks it as completed, The driver can rate the passenger !!
-
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} -
Just change the
"rating":5to any higher number, like:"rating":55 -
200 OK !!
-
and The final profile for the passenger is:
████████
-
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 !!
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
- Create a normal city-to-city shared ride and join it with a passenger account, then complete it.
- After the passenger marks the ride completed, the driver rates the passenger.
- Capture the review request sent to the driver review endpoint.
- Change the rating value to a number higher than the normal maximum.
- 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.