Site-wide CSRF on eats.uber.com
The website eats.uber.com lacked CSRF protections on its endpoints, allowing an attacker to make requests on behalf of another user. This enabled actions such as adding a credit card to another account.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 19 days
- Paid in 24 days
- Disclosed after 2.3 years
Summary by the program
There was a lack of CSRF protections on eats.uber.com which allowed an attacker to add a credit card to another account. Shortly after reporting, @vijay_kumar1110 noticed other endpoints on the same domain which also lacked CSRF protections and added them to his report. Following further investigation, we found that there was a complete lack of any CSRF protections on eats.uber.com, allowing an attacker to make requests on behalf of another user arbitrarily. At the time of reporting, this was thought to be a one-time issue but ended up being something that existed across the rest of the service which increased the severity of this issue.
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 application did not implement any CSRF tokens or origin checks on state-changing requests.
Impact
An attacker could make arbitrary requests on behalf of another user, such as adding a credit card to another account.
What the attacker needed
Victim is logged in; victim visits attacker-controlled page
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.
CSRF is when a malicious site tricks your browser into sending a request to another site where you're logged in. Here the site didn't check requests came from its own pages, so an attacker could make your browser add a credit card to another account or perform other actions as you.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.