inDrive · Report #2125049
Unlimited fake rate to the passenger in city to city, Affected endpoint `/api/v1/reviews/ride/<ID>/driver`
Summary
Subscribe to our telegram channel with updates https://t.me/indrive_bbp
How it was found
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 !!