Skip to content
Business logic Disclosed report Beginner

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.

str33 Follow

Originally disclosed on HackerOne

  • 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 -

  1. Make any request and capture it using any proxy (burp)
  2. Go to account settings and change the password.
  3. Replay the captured request by changing any parameter(username or fullname)
  4. You get a response saying our profile settings was updated.
  5. 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.

The original report as published on HackerOne, by str33. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Capture any authenticated request with a proxy.
  2. Change the account password in account settings.
  3. Replay the captured request with a modified parameter such as username or fullname.
  4. Observe that the server accepts the request and reports the profile was updated.
  5. 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.

More by str33

View all

2 more disclosed reports, best first.

More from Weblate

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.