CVE-2022-1155: Snipe/snipe it Old Sessions Not Blocked By Vulnerability
HIGHCVE-2022-1155 is a HIGH (CVSS 7.4) old sessions not blocked by vulnerability (CWE-613: Insufficient Session Expiration) affecting Snipe/snipe it libraries in the Packagist ecosystem. The issue involves old sessions not blocked by login enable function in snipe-it. Remediation is available by upgrading affected packages to version 6.0.0-RC-6, 5.4.2.
CVE-2022-1155 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L).
How to Fix CVE-2022-1155
To remediate this vulnerability, upgrade all affected Snipe/snipe it dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade snipe/snipe-it to 6.0.0-RC-6
Upgrade snipe/snipe-it to 5.4.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for snipe/snipe-it
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-1155, inspect your project dependencies for Snipe/snipe it:
inspect dependencies for snipe/snipe-it
Analyze the terminal output to locate any version of Snipe/snipe it in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0.0-RC-6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Snipe/snipe it, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-1155 Affected Snipe/snipe it Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snipe/snipe-it
|
Packagist |
≥ 6.0.0-RC-1
< 6.0.0-RC-6
|
6.0.0-RC-6
|
|
snipe/snipe-it
|
Packagist |
< 5.4.2
|
5.4.2
|
References
Frequently Asked Questions
What is CVE-2022-1155?
Which Snipe/snipe it versions are affected?
What version fixes CVE-2022-1155?
Is snipe/snipe-it affected?
What is the CVSS score of CVE-2022-1155?
What CWE is associated with CVE-2022-1155?
How can I check Packagist dependencies for CVE-2022-1155?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-636j-7x7r-gvw2",
"modified" : "2022-04-13T13:28:21Z",
"published" : "2022-03-31T00:00:22Z",
"aliases" : [ "CVE-2022-1155" ],
"summary" : "Old sessions not blocked by login enable function in Snipe-IT",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "snipe/snipe-it"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0-RC-1"
}, {
"fixed" : "6.0.0-RC-6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.0.0-RC-5"
}
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "snipe/snipe-it"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-1155"
}, {
"type" : "WEB",
"url" : "https://github.com/snipe/snipe-it/pull/10876"
}, {
"type" : "WEB",
"url" : "https://github.com/snipe/snipe-it/commit/bdabbbd4e98e88ee01e728ceb4fd512661fbd38d"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/snipe/snipe-it"
}, {
"type" : "WEB",
"url" : "https://github.com/snipe/snipe-it/releases/tag/v5.4.2"
}, {
"type" : "WEB",
"url" : "https://github.com/snipe/snipe-it/releases/tag/v6.0.0-RC-6"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/ebc26354-2414-4f72-88aa-f044aec2b2e1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-613" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-04-01T14:11:35Z",
"nvd_published_at" : "2022-03-30T13:15:00Z"
}
}