Sensitive user information disclosure at bonjour.uber.com/marketplace/_rpc via the 'userUuid' parameter
The marketplace RPC endpoint accepted a user-supplied userUuid parameter and returned another user's personal data and mobile authentication token. An attacker could use the leaked token to make requests to mobile APIs as the victim, potentially gaining full access to the account.
Originally disclosed on HackerOne
- Triaged in 6 days
- Fixed in 7 days
- Paid in 14 days
- Disclosed after 5 months
Summary by the program
It was possible for an attacker to insert another user’s UUID into the userUuid POST parameter when making a request to https://bonjour.uber.com/marketplace/_rpc?rpc=getConsentScreenDetails, allowing them to retrieve personal data from the victim user’s account, as well as the user's mobile auth token, which could allow them to make requests to mobile APIs as the victim.
Thanks again, @appsecure_in!
Summary by the researcher
Public API endpoint leaked mobile API token of a user by passing driver uuid/rider uuid in the request. Using the API token attacker could have gained full access to driver/rider account.
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 endpoint trusted the userUuid parameter without verifying that it belonged to the authenticated caller, leading to an insecure direct object reference.
Impact
An attacker could retrieve personal data and a mobile auth token, and could use that token to make requests to mobile APIs as the victim, potentially gaining full access to the driver or rider account.
What the attacker needed
Knowledge of a victim's UUID
How it was found
- Send a request to the marketplace RPC endpoint with the getConsentScreenDetails method.
- Include the userUuid POST parameter set to another user's UUID.
- Receive the victim's personal data and mobile auth token in the 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.
A web service had a parameter that let you ask for details about a user by their ID. It did not check that the ID belonged to you, so you could put in someone else's ID and get back their personal details and a secret token. That token is like a password for the mobile app, so the attacker could then act as that person.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.