We need help with Insufficient session expiration
Hi,
We have received a report from our security scanner contractor (SSC) who is testing our application for vulnerabilities with new warning as per subject "Insufficient session expiration".
The user logged on to application concurrently two times with the same user credentials. Both sessions are using Chrome and, one of the session is Incognito window.
Then, after changing password in one of the sessions (non incognito), the application logged the user out and redirected to login page.
The security requiremets as per SSC, all the sessions opened for the user must be logged out.
Is it possible?
We are using CF2016 on Windows Server 2008 R2.
CF is configured to use J2EE session.
I tried different methods to invalidate/delete the session and, nothing seem to work for both sessions. Only one session is logged out.
Our logout function is using following to delete a session:
<CFSET StructClear(SESSION)>
<cfcookie name="CFID" value="" expires="now">
<cfcookie name="CFTOKEN" value="" expires="now">
<cfset sessionInvalidate()>
<cfset getPageContext().getSession().invalidate()>
After loggin in to both sessions, I checked session tokens and id's, they do not match. How can I delete both sessions?
Thank you,
Gena
