IDOR on partners.uber.com allows for a driver to override administrator documents
An access control flaw in a document upload endpoint let a driver on a multi-driver account upload and overwrite documents belonging to other drivers, including the account administrator. This could allow a driver to escalate their privileges to administrator level.
Originally disclosed on HackerOne
- Triaged in 34 days
- Fixed in 3 months
- Paid in 4 months
- Disclosed after 24 months
Summary by the program
An IDOR in the /p3/drivers/uploadDocument endpoint on partners.uber.com allowed a driver to upload (and overwrite) documents for other drivers on a multi-driver account. In addition to this, there was an access control issue where a driver account could also upload (and overwrite) documents for the multi-driver account administrator. As a result, a driver could potentially escalate privilege to an account administrator.
Thanks, @vijay_kumar1110!
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 upload endpoint identified the target document or driver from user-supplied input and did not verify that the caller was allowed to modify that record.
What the attacker needed
A driver account on a multi-driver account
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 multi-driver account lets several drivers share one company account, with an administrator in charge. The upload feature did not check that the person uploading a document actually owned the record being changed, so one driver could replace another driver's or the administrator's files. That is an IDOR, short for insecure direct object reference: the server trusts an identifier sent by the user without checking who they are.
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.