CVE-2022-24444: Silverstripe/hybridsessions Hybridsessions Does Not Expire Session Vulnerability
MODERATECVE-2022-24444 is a MODERATE (CVSS 6.5) hybridsessions does not expire session vulnerability (CWE-384: Session Fixation) affecting Silverstripe/hybridsessions libraries in the Packagist ecosystem. The issue involves hybridsessions does not expire session id on logout. Remediation is available by upgrading affected packages to version 2.4.1, 2.5.1.
CVE-2022-24444 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2022-24444
To remediate this vulnerability, upgrade all affected Silverstripe/hybridsessions 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 silverstripe/hybridsessions to 2.4.1
Upgrade silverstripe/hybridsessions to 2.5.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/hybridsessions
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-24444, inspect your project dependencies for Silverstripe/hybridsessions:
inspect dependencies for silverstripe/hybridsessions
Analyze the terminal output to locate any version of Silverstripe/hybridsessions in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.1), 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-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Silverstripe/hybridsessions, 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-24444 Affected Silverstripe/hybridsessions Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/hybridsessions
|
Packagist |
≥ 1.0.0
< 2.4.1
|
2.4.1
|
|
silverstripe/hybridsessions
|
Packagist |
≥ 2.5.0
< 2.5.1
|
2.5.1
|
References
Frequently Asked Questions
What is CVE-2022-24444?
Which Silverstripe/hybridsessions versions are affected?
What version fixes CVE-2022-24444?
Is silverstripe/hybridsessions affected?
What is the CVSS score of CVE-2022-24444?
What CWE is associated with CVE-2022-24444?
How can I check Packagist dependencies for CVE-2022-24444?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c7q8-m4xw-c674",
"modified" : "2022-07-14T21:36:35Z",
"published" : "2022-06-29T22:09:53Z",
"aliases" : [ "CVE-2022-24444" ],
"summary" : "Hybridsessions does not expire session id on logout",
"details" : "When using the hybridsessions module is used without the session-manager module installed and sessions IDs are saved to disk, unexpired SessionIDs of logged out users can still be used to make authenticated requests.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/hybridsessions"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "2.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/hybridsessions"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.5.0"
}, {
"fixed" : "2.5.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-24444"
}, {
"type" : "WEB",
"url" : "https://docs.silverstripe.org/en/4/changelogs/4.10.1"
}, {
"type" : "WEB",
"url" : "https://forum.silverstripe.org/c/releases"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/hybridsessions/CVE-2022-24444.yaml"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/blog/tag/release"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases/cve-2022-24444"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-384" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-29T22:09:53Z",
"nvd_published_at" : "2022-06-28T22:15:00Z"
}
}