Lucene search

K
huntrCh1nhpdF0AACCE1-79BC-4765-95F1-7E824433B9E4
HistoryJul 11, 2023 - 8:38 a.m.

Session is still valid after changing password

2023-07-1108:38:59
ch1nhpd
www.huntr.dev
4
session hijacking risk
public computer
password change
server-side session
bug bounty

0.001 Low

EPSS

Percentile

43.3%

Description

The application does not delete the old login session on the server side after changing the password. This poses a risk when a user uses a public computer and an attacker captures the login session. Even if the user has changed the password, the login session is still taken over by the attacker.

Proof of Concept

1 - Log in to 2 different computers

2 - At a computer, perform a password change.

3 - Result: On the other logged in computer, it can still be used normally.

Image POC: https://drive.google.com/drive/folders/1A0uciV3z0in1qpEkhCT49P_9QAWN3IUx?usp=sharing

Solution

Disable sessions in both client and server after user changes password

0.001 Low

EPSS

Percentile

43.3%

Related for F0AACCE1-79BC-4765-95F1-7E824433B9E4