No expiration of session ID after Password change
The application does not invalidate an existing session or issue a new session ID after a user changes their password. An attacker who already holds a captured session can keep replaying requests and modify the victim's profile even after the password change.
- Triaged in under an hour
- Fixed in 8 hours
- Disclosed after 23 days
If an user changes his password, the session persists and new session ID won't be created.
POC -
- Make any request and capture it using any proxy (burp)
- Go to account settings and change the password.
- Replay the captured request by changing any parameter(username or fullname)
- You get a response saying our profile settings was updated.
- When we view our profile, we can actually see that the changes have taken place.
Impact- This has a fairly moderate impact as the session credentials are still in use even after password change.
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 server does not revoke existing sessions or rotate the session identifier when the password is changed.
Impact
An attacker who already has a valid session could continue to make authenticated changes to the victim's profile after the victim changes their password.
What the attacker needed
Attacker already holds a valid session; victim changes password
How it was found
- Capture any authenticated request with a proxy.
- Change the account password in account settings.
- Replay the captured request with a modified parameter such as username or fullname.
- Observe that the server accepts the request and reports the profile was updated.
- View the profile to confirm the changes took effect.
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.
After you change your password, the old session still works, so anyone who captured it earlier can keep using your account.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.