CVE-2015-8124: Symfony/symfony Symfony Session Fixation Vulnerability Vulnerability
LOWCVE-2015-8124 is a LOW (CVSS 3.1) symfony session fixation vulnerability vulnerability (CWE-384: Session Fixation) affecting Symfony/symfony libraries in the Packagist ecosystem. The issue involves symfony session fixation vulnerability. Remediation is available by upgrading affected packages to version 2.3.35, 2.6.12, 2.7.7.
CVE-2015-8124 at a Glance
Security Impact
CVSS: 3.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N).
How to Fix CVE-2015-8124
To remediate this vulnerability, upgrade all affected Symfony/symfony 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 symfony/symfony to 2.3.35
Upgrade symfony/symfony to 2.6.12
Upgrade symfony/symfony to 2.7.7
Upgrade symfony/security-http to 2.6.12
Upgrade symfony/security-http to 2.7.7
Upgrade symfony/security to 2.3.35
Upgrade symfony/security to 2.6.12
Upgrade symfony/security to 2.7.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/symfony
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-8124, inspect your project dependencies for Symfony/symfony:
inspect dependencies for symfony/symfony
Analyze the terminal output to locate any version of Symfony/symfony in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.35), 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 Symfony/symfony, 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-2015-8124 Affected Symfony/symfony Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/symfony
|
Packagist |
≥ 2.3.0
< 2.3.35
|
2.3.35
|
|
symfony/symfony
|
Packagist |
≥ 2.4.0
< 2.6.12
|
2.6.12
|
|
symfony/symfony
|
Packagist |
≥ 2.7.0
< 2.7.7
|
2.7.7
|
|
symfony/security-http
|
Packagist |
≥ 2.4.0
< 2.6.12
|
2.6.12
|
|
symfony/security-http
|
Packagist |
≥ 2.7.0
< 2.7.7
|
2.7.7
|
|
symfony/security
|
Packagist |
≥ 2.3.0
< 2.3.35
|
2.3.35
|
|
symfony/security
|
Packagist |
≥ 2.4.0
< 2.6.12
|
2.6.12
|
|
symfony/security
|
Packagist |
≥ 2.7.0
< 2.7.7
|
2.7.7
|
References
Frequently Asked Questions
What is CVE-2015-8124?
Which Symfony/symfony versions are affected?
What version fixes CVE-2015-8124?
Is symfony/symfony affected?
Is symfony/security-http affected?
What is the CVSS score of CVE-2015-8124?
What CWE is associated with CVE-2015-8124?
How can I check Packagist dependencies for CVE-2015-8124?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j5jh-hpr4-h332",
"modified" : "2024-02-08T19:16:23Z",
"published" : "2022-05-14T02:47:28Z",
"aliases" : [ "CVE-2015-8124" ],
"summary" : "Symfony Session Fixation Vulnerability",
"details" : "A session fixation vulnerability within the \"Remember Me\" login feature allows an attacker to impersonate the victim towards the web application if the session id value was previously known to the attacker. This issue has been fixed in Symfony 2.3.35, 2.6.12, and 2.7.7. Note that no fixes are provided for Symfony 2.4 and 2.5 as they are not maintained anymore. Symfony 2.8 and 3.0 haven't been released yet and the fix will be included in their first stable releases.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.35"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.6.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.6.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.35"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.6.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-8124"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/pull/16631"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2015-8124.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2015-8124.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-8124.yaml"
}, {
"type" : "WEB",
"url" : "https://symfony.com/blog/cve-2015-8124-session-fixation-in-the-remember-me-login-feature"
}, {
"type" : "WEB",
"url" : "https://symfony.com/cve-2015-8124"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20201209020014/http://www.securityfocus.com/archive/1/537183/100/0/threaded"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210125123853/http://www.securityfocus.com/bid/77694"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173271.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173300.html"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2015/Dec/89"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2015/dsa-3402"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-384" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-02T21:06:13Z",
"nvd_published_at" : "2015-12-07T20:59:00Z"
}
}