Simultaneous Session Logon : Improper Session Management
The login page does not redirect already-authenticated users, and logging in as a different user leaves the previous session active. An attacker could potentially hijack the older session.
b76fad49b0533cc7149d9a4 Follow
Originally disclosed on HackerOne
- Disclosed after 4 months
Hi, I would like to report this bug related to improper simultaneous logon.
Issue:
-
When a user is logged in to the application (already authenticated), visits the login page https://coinbase.com/signin he/she should directly get redirected to their home page as there is already a session running for the same user, but this is not happening in coinbase website.
-
If one already logged in user visits the login page and enter the credentials to login as a different user, he gets logged in (provided the credentials are correct), but the session of the older user account is still alive this might cause session hijacking.
-
As already logged in users can also visit the login page again and re-authenticate themselves, the activities page shows one more session running for the same account whereas the session identifier is same for all the sessions.
I have tried showing all the three issues in the POC, please let me know if you need the POC video as i can't upload it here because of some issues.
Root Cause: I guess for simultaneous session logon you guys are not using the device id parameter, hence same user can reauth himself again and again from the same device. Secondly,. the login page is not checking whether the user already have an active session or not and hence redirecting.
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 page does not check for an existing session and the application does not use a device identifier to prevent re-authentication from the same device.
Impact
The older session could remain valid, potentially allowing session hijacking if that session identifier is compromised.
What the attacker needed
Valid credentials for two accounts; access to the login page
The fix
The login page should redirect users who already have an active session, and a device identifier should be used to prevent repeated re-authentication.
How it was found
- Log in to the application.
- Visit the login page again while still logged in.
- Enter credentials for a different user and log in.
- Observe that the previous user's session remains active.
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, the site gives your browser a session, like a temporary pass. This report says that if you log in again as someone else, the old pass is not cancelled, so someone who stole it could still use it. It also says the login page does not send already-logged-in users away.
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.