Changing the administrator password via admin console does not invalidate other sessions
Changing the administrator password via the admin console does not invalidate existing sessions. An attacker who already has an active session retains administrator access even after the password is reset.
Originally disclosed on HackerOne
- Triaged in 2 days
- Fixed in 3 months
- Paid in 26 days
- Disclosed after 5 months
-
Login to your admin account from the browser.
-
Change the password of admin account via
./resetAdministratorPasswordas described in https://portswigger.net/burp/documentation/enterprise/managing-users-and-permissions/reset-admin-password -
Go back to your browser session and confirm the session still valid.
Screen recording proof of concept attached : ████
Impact
The impact is minimal but effective, assuming an attacker got in and changed the password and the owner realized that and tried to change the password of its account ( he have 1 option to change it via the admin console since he don't have access to its account via the dashboard ) . The admin will change the password of the account but the attacker will still have access to the administrator account as an administrator since its session didn't got invalidated.
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 revoke existing session tokens when the administrator password is changed.
Impact
An attacker who already holds a valid session keeps administrator access even after the password is reset, though the report notes the impact is minimal.
What the attacker needed
Attacker already has a valid admin session; admin password is reset via console
How it was found
- Log in to the admin account from a browser.
- Change the admin password using the resetAdministratorPassword command.
- Return to the original browser session and confirm it is still valid.
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, the server gives your browser a session token so it remembers you. If you change your password, you would expect all other logged-in browsers to be kicked out. Here, they are not, so someone who already stole a session stays logged in even after the password is changed.
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.