Session might persist after server-side token deletion #2
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LunarTides/Login-Thing#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A session created from a cookie might persist after the token gets deleted. This can be exploited if an attacker grabs the token from another user, and even if the original user logs out (which deletes the token) the attacker remains logged in.
AFAIK, this only happens if the attacker directly injects the token cookie, instead of logging in.
This might have something to do with the fact that 'header.php', which handles this, creates a warning on newer versions of php / xampp / mysql.