Reputation: 111
I am testing a web application for security issues and I came across the following scenario:
My question is, should this be considered a vulnerability in the application or is the whole scenario too far fetched to worry about? My take is that since the app relies exclusively on cookies for authentication and session management, it is the app's responsibility to warn the user about being unable to unset the cookies during logout and instruct the user to manually clear cookies to be safe.
Appreciate the responses!
Upvotes: 1
Views: 113
Reputation: 736
If something the user does can undermine your security system then there is a security hole.
In this case I would suggest that the server keep a list (DB table or other pesistant store) of set cookies and when the user logs out delete their cookie from the list. If you later see the cookie it won't be accepted because it is not on the list.
Upvotes: 1