Auditing Session Lifecycle And Fixation

Audit how an application issues, rotates, and destroys session identifiers, so an attacker cannot fixate or outlive a session. Covers a session identifier not regenerated at login or privilege change, a logout that clears the client cookie but leaves the server session valid, a session that never expires or has no idle or absolute timeout, an identifier accepted from a URL or a header an attacker can seed, a session cookie missing the secure, http-only, or same-site attributes, and a cookie scoped to a parent domain shared with untrusted subdomains. Use when reviewing authentication, logout, and session-management code and the cookie attributes it sets; it assumes the identifier is unguessable and scopes to lifecycle, not entropy. An attacker who can set or keep a session identifier is the source, the victim authenticating into it is the sink, and a session that is not rotated or invalidated is the bug.

UnboundCompute 19b8b46 9.9 KB Updated

File contents

UnboundCompute/security-agent-skills/tree/main/skills/auditing-session-lifecycle-and-fixation commit 19b8b46d5e

Frequently asked questions

npx skillmds@latest add unboundcompute/auditing-session-lifecycle-and-fixation