Old sessions not blocked by login enable function in Snipe-IT
Impact
Snipe-IT is a FOSS project for asset management in IT Operations. In Snipe-IT versions 5.4.1 and 6.0.0-RC-5 and prior, active sessions are not revoked when a user account is disabled, allowing that user to still access information that they should no longer be able to. Workarounds include using the KillAllSessions console command, clearing the contents of the storage/framework/sessions directory, or changing the cookie name, but all of those options logout ALL users, which could be kind of annoying. This issue is fixed in versions 6.0.0-RC-6 and 5.4.2.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 6.0.0-RC-1 before 6.0.0-RC-6Ecosystem versions | 6.0.0-RC-6 |
| Earlier releases before 5.4.2Ecosystem versions | 5.4.2 |
Version evidence: OSV · GHSA-636j-7x7r-gvw2
View original version evidence (195 explicit versions)
Original source description
Snipe-IT is a FOSS project for asset management in IT Operations. In Snipe-IT versions 5.4.1 and 6.0.0-RC-5 and prior, active sessions are not revoked when a user account is disabled, allowing that user to still access information that they should no longer be able to. Workarounds include using the KillAllSessions console command, clearing the contents of the storage/framework/sessions directory, or changing the cookie name, but all of those options logout ALL users, which could be kind of annoying. This issue is fixed in versions 6.0.0-RC-6 and 5.4.2.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2022-1155
- Patch github.com/snipe/snipe-it/pull/10876
- Patch github.com/snipe/snipe-it/commit/bdabbbd4e98e88ee01e728ceb4fd512661fbd38d
- Source reference github.com/snipe/snipe-it
- Release notes github.com/snipe/snipe-it/releases/tag/v5.4.2
- Release notes github.com/snipe/snipe-it/releases/tag/v6.0.0-RC-6
- Source reference huntr.dev/bounties/ebc26354-2414-4f72-88aa-f044aec2b2e1