Skip to content
OAuth / SSO Disclosed report Intermediate

Open Redirect on central.uber.com allows for account takeover

The OAuth2 state parameter on central.uber.com was used to store a redirect location instead of a CSRF token, allowing an attacker to modify it to point to a malicious path that redirects to a custom domain after login. This enabled theft of the victim's OAuth access token, leading to full account takeover.

ngalog Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 54 days
  • Paid in 55 days
  • Disclosed after 23 months

Summary by the program

An error in our OAuth2 flow for central.uber.com allowed an attacker to leverage an open redirect that allowed for a full account takeover. When logging into central.uber.com, the state parameter for login.uber.com contained a redirect location instead of a CSRF token. As a result, an attacker could modify the state parameter to have a poisoned central.uber.com path which would redirect to a custom domain after login and allow them to steal an account OAuth access token.

Thanks, @ngalog!

The original report as published on HackerOne, by ngalog. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

An attacker could steal a victim's OAuth access token and take over their account.

What the attacker needed

Victim logs in via OAuth; attacker can modify state parameter

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 log in to a website using another service (like logging into a site with your Google account), a hidden value called the 'state' parameter is meant to be a random code that prevents attackers from tricking you. Here, that value was instead used to remember where to send you after login, so an attacker could change it to send you to their own site and steal your login token.

What is OAuth / SSO?

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.

More by ngalog

View all

21 more disclosed reports, best first.

More from Uber

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

OAuth and single sign-on flaws

The lesson behind this report.

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.