Cockpit before 2.2.0 vulnerable to Insufficient Session Expiration
Cockpit before 2.2.0 does not invalidate existing sessions after a password change. An attacker with an active session could continue to change account details even after an admin changes the password.
cockpit-hq/cockpit
Originally disclosed on huntr
Cockpit before version 2.2.0 is vulnerable to Insufficient Session Expiration. The application does not validate requests after password changes, allowing a user to change their account details even after an admin changes their password.
From the GitHub Advisory Database (GHSA-vm6p-35rw-3fxc, CC BY 4.0).
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 check whether the session was created before the last password change, so old sessions remain valid.
Impact
An attacker with an existing session could continue to modify account details even after the password is changed, though the advisory does not state whether other actions are possible.
What the attacker needed
An active session; admin changes password
The fix
The issue was fixed in version 2.2.0, which should invalidate sessions after a password change.
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 you don't have to re-enter your password every time. This report says that if an admin changes your password, the old session token still works, so someone who already had access could keep using the account. That is a problem because changing a password is supposed to lock out anyone else.
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.