Session Fixation
CVE-2024-38513
Summary
Fiber is an Express-inspired web framework written in Go. The package github.com/gofiber/fiber versions 2.2.0 through 2.52.4, and 3.0.0-beta.2 are vulnerable to Session Fixation vulnerability. This vulnerability allows users to supply their own "session_id" value, resulting in the creation of a session with that key. If a website relies on the mere presence of a session for security purposes, this can lead to significant security risks, including unauthorized access and Session Fixation attacks. All users utilizing GoFiber's session middleware in the affected versions are impacted. Users are strongly encouraged to upgrade to mitigate this vulnerability. Users who are unable to upgrade immediately can apply the following workarounds to reduce the risk: Either implement additional validation to ensure session IDs are not supplied by the user and are securely generated by the server, or regularly rotate session IDs and enforce strict session expiration policies.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- 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.
References
Advisory Timeline
- Published