CVE-2022-24895

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*

History

12 Jul 2023, 01:15

Type Values Removed Values Added
Summary Symfony is a PHP framework for web and console applications and a set of reusable PHP components. When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch. Symfony is a PHP framework for web and console applications and a set of reusable PHP components. When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch.
References
  • (MISC) https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html -
CWE CWE-613 CWE-384

23 Jun 2023, 19:39

Type Values Removed Values Added
CWE CWE-384 CWE-613

15 Feb 2023, 14:25

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
CPE cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
First Time Sensiolabs symfony
Sensiolabs
References (MISC) https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml - (MISC) https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml - Issue Tracking
References (MISC) https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4 - (MISC) https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4 - Patch
References (MISC) https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946 - (MISC) https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946 - Patch
References (MISC) https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m - (MISC) https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m - Patch, Third Party Advisory

03 Feb 2023, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-02-03 22:15

Updated : 2023-12-10 14:48


NVD link : CVE-2022-24895

Mitre link : CVE-2022-24895

CVE.ORG link : CVE-2022-24895


JSON object : View

Products Affected

sensiolabs

  • symfony
CWE
CWE-384

Session Fixation

CWE-613

Insufficient Session Expiration