GHSA-636j-7x7r-gvw2
Old sessions not blocked by login enable function in Snipe-IT
Quick fix
GHSA-636j-7x7r-gvw2 — snipe/snipe-it: upgrade to the fixed version with the command below.
composer require snipe/snipe-it:^6.0.0-RC-6Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
6.0.0-RC-1Fixed in: 6.0.0-RC-6composer require snipe/snipe-it:^6.0.0-RC-6References
- https://nvd.nist.gov/vuln/detail/CVE-2022-1155[ADVISORY]
- https://github.com/snipe/snipe-it/pull/10876[WEB]
- https://github.com/snipe/snipe-it/commit/bdabbbd4e98e88ee01e728ceb4fd512661fbd38d[WEB]
- https://github.com/snipe/snipe-it[PACKAGE]
- https://github.com/snipe/snipe-it/releases/tag/v5.4.2[WEB]
- https://github.com/snipe/snipe-it/releases/tag/v6.0.0-RC-6[WEB]
- https://huntr.dev/bounties/ebc26354-2414-4f72-88aa-f044aec2b2e1[WEB]