GitHub Advisory Database
GHSA-fcvm-3cpj-f9qx
Apache Shiro has a session fixation vulnerability
Details
Default configurations of Apache Shiro have a session fixation vulnerability.
This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.
Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.
In the affected versions, when a session already exists, it is not invalidated upon successful login, nor is a new session being generated with a new ID.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.shiro:shiro-core | From 1.0.0-incubating before 2.2.0 (fixed in 2.2.0) |
| Maven | org.apache.shiro:shiro-core | From 3.0.0-alpha-1 before 3.0.0-alpha-2 (fixed in 3.0.0-alpha-2) |