[security] Fix session fixation: regenerate session on login #38
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/webhooker#38
Loading…
Reference in New Issue
Block a user
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?
From Security Audit (#33 comment)
Severity: BLOCKER
Session is not regenerated after successful login. An attacker who can set a session cookie before login can hijack the session after the user authenticates.
Suggested fix: Regenerate the session ID (create new session, copy data, destroy old) after successful authentication.