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.
- 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
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
- Log in as the attacker on the riders site.
- Have the victim open the Uber login page in the same browser.
- The page asks for credentials even though a session is already active.
- The victim enters their credentials and is sent to the riders site.
- 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.