CWE•Compound•Incomplete•20 recent CVEs
CWE-384Session Fixation
Description
Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.
[object Object]
Common consequences
- Access Control→Gain Privileges or Assume Identity
Potential mitigations
- Architecture and DesignInvalidate any existing session identifiers prior to authorizing a new user session.
- Architecture and DesignFor platforms such as ASP that do not generate new values for sessionid cookies, utilize a secondary cookie. In this approach, set a secondary cookie on the user's browser to a random value and set a session variable to the same value. If the session variable and the cookie value ever don't match, invalidate the session, and force the user to log on again.
- OperationUse an application firewall that can detect attacks against this weakness. It can be beneficial in cases in which the code cannot be fixed (because it is controlled by a third party), as an emergency prevention measure while more comprehensive software assurance measures are applied, or to provide defense in depth [REF-1481].
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-1159106.82026-10-26CVE-2026-494108.12026-10-16CVE-2026-556828.12026-10-14CVE-2026-1074217.32026-10-14CVE-2026-939099.12026-10-13CVE-2026-631618.82026-10-13CVE-2024-343249.12026-10-13CVE-2026-1072266.82026-10-12CVE-2026-1072294.02026-10-07CVE-2026-924149.12026-10-07CVE-2026-1052336.32026-10-05CVE-2026-1044696.82026-10-02CVE-2026-1024899.82026-09-30CVE-2026-713027.12026-09-29CVE-2026-1012682026-09-29CVE-2026-926099.82026-09-25CVE-2026-571794.22026-09-24CVE-2026-958284.32026-09-22CVE-2026-793126.82026-09-22CVE-2026-616877.12026-09-21