help.nextcloud.com: Session Management Issue
The report claims that after changing an account password in one browser session, other existing sessions remain active. An attacker who has access to another session could continue using it even after the victim changes their password.
- Disclosed after 4 hours
Hey, I've found a session management in help.nextcloud.com, which can lead to session takeover! Issue:
When the password of an account is changed from a session, other sessions doesn't expire!
Steps to Reproduce:
[+] We need to use two different browsers.
Login to both browsers!
- Then change the password from one browser.
- After changing the password, go to other browser, the session will still be alive
- That means, server-side session not expire after password change.
- This could be a risky factor for the user.
Thanks, Ahsan Tahir
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 does not invalidate existing server-side sessions when a user changes their password.
Impact
An attacker who already has an active session could continue to access the account even after the victim changes their password.
What the attacker needed
Two browsers; valid account credentials; attacker has an existing session
How it was found
- Log in to the same account using two different browsers.
- Change the account password from one browser.
- Check the other browser: the session is still 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 server gives your browser a session token so you stay logged in. If you change your password, you would expect all other logged-in devices to be logged out for safety. This report says that on help.nextcloud.com, other sessions stay logged in after a password change, so someone who already had access to your account could keep using it.
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.