CVE-2022-2997:
Insufficient Session Expiration in snipe/snipe-it
4.6
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.74219%
CWE
Published
8/26/2022
Updated
1/29/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
snipe/snipe-it | composer | < 6.0.10 | 6.0.10 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient session expiration after password changes. The key function is passwordSave
in ProfileController.php
where password updates were processed without session termination. The patch added Auth::logoutOtherDevices()
to address this. The absence of session invalidation logic in this function directly enabled session fixation attacks. The middleware addition in Kernel.php
(AuthenticateSession) supports session management but the primary vulnerability root is in the password change handler.