Skip to main content

Session Fixation

CVE-2021-41246

Severity High
Score 8.8/10

Summary

Express OpenID Connect is express JS middleware implementing sign on for Express web apps using OpenID Connect. Versions from 2.3.0-beta.0 to 2.5.1 do not regenerate the session id and session cookie when a user logs in. This behavior opens up the application to various session fixation vulnerabilities. Version `2.5.2` contains a patch for this issue.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • HIGH

CWE-384 - Session Fixation

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.

Advisory Timeline

  • Published