Skip to content
Account takeover Disclosed report Intermediate

Session Impersonation in riders.uber.com

When a victim logged into the Uber login page in a browser that already held an attacker's riders session, the site did not replace the existing session and instead kept the attacker's account active. An attacker could then trick a victim into entering personal or payment details into the attacker's account.

durga Follow

Originally disclosed on HackerOne

  • Disclosed after 2 months

Steps:

  • First log in as attacker in riders.uber.com.
  • Victim now opens https://login.uber.com/login in same browser (eg: net cafe).
  • It asks you to enter login credentials even though another session is alive.
  • If victim enters his account credentials, he will be taken to riders site.
  • Even though riders domain is logged in with attacker account, it still takes him to that attacker logged in session.

Should be:

  • Shouldn't show login when session is alive.
  • Should have cleared old account and let new user login.

Problems:

  • Serious consequences could be, user might assuming he is updating his account and may enter his credit card details in attacker account.

POC https://drive.google.com/file/d/0B9ftrLQ2j3woVktxY181U1pSMk0/view?usp=sharing (sending link as attachment is 11.X mb)

Thanks

The original report as published on HackerOne, by durga. 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

Root cause

Likely the login flow did not invalidate or replace the existing session on the riders domain when a new authentication happened, so the old session persisted.

Impact

A victim could believe they are updating their own account and enter card details into the attacker's account, though this relies on a shared browser.

What the attacker needed

Shared browser or kiosk; attacker logs in first; victim enters credentials

How it was found

  1. Log in as the attacker on the riders site.
  2. Have the victim open the Uber login page in the same browser.
  3. The page asks for credentials even though a session is already active.
  4. The victim enters their credentials and is sent to the riders site.
  5. The riders site still shows the attacker's logged-in session instead of the victim's.

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 session is the state that keeps you logged in after you sign in. Here, the site failed to throw away an old login when a new person signed in on the same browser, so the second person ended up inside the first person's account. That means anything the second person typed, such as card details, would go to the wrong account.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More from Uber

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.