Symfony Session Fixation Vulnerability
Published 14 May 2022 · Updated 16 Feb 2024
Affected packages
- Affected
- >=2.3.0 <2.3.35
- Fixed in
- 2.3.35
composer require symfony/symfony:^2.3.35- Affected
- >=2.4.0 <2.6.12
- Fixed in
- 2.6.12
composer require symfony/symfony:^2.6.12- Affected
- >=2.7.0 <2.7.7
- Fixed in
- 2.7.7
composer require symfony/symfony:^2.7.7- Affected
- >=2.4.0 <2.6.12
- Fixed in
- 2.6.12
composer require symfony/security-http:^2.6.12- Affected
- >=2.7.0 <2.7.7
- Fixed in
- 2.7.7
composer require symfony/security-http:^2.7.7- Affected
- >=2.3.0 <2.3.35
- Fixed in
- 2.3.35
composer require symfony/security:^2.3.35- Affected
- >=2.4.0 <2.6.12
- Fixed in
- 2.6.12
composer require symfony/security:^2.6.12- Affected
- >=2.7.0 <2.7.7
- Fixed in
- 2.7.7
composer require symfony/security:^2.7.7Details
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.
Is GHSA-j5jh-hpr4-h332 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected symfony/symfony, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2015-8124
- Linkgithub.com/symfony/symfony/pull/16631
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2015-8124.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2015-8124.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-8124.yaml
- Linksymfony.com/blog/cve-2015-8124-session-fixation-in-the-remember-me-login-feature
- Linksymfony.com/cve-2015-8124
- Linkweb.archive.org/web/20201209020014/http://www.securityfocus.com/archive/1/537183/100/0/threaded
- Linkweb.archive.org/web/20210125123853/http://www.securityfocus.com/bid/77694
- Linklists.fedoraproject.org/pipermail/package-announce/2015-December/173271.html
- Linklists.fedoraproject.org/pipermail/package-announce/2015-December/173300.html
- Linkseclists.org/fulldisclosure/2015/Dec/89
- Linkwww.debian.org/security/2015/dsa-3402
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.