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

13 Feb 2025, 17: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://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946 - Patch () https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946 - Patch
References (MISC) https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml - Issue Tracking () https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml - Issue Tracking
References (MISC) https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m - Patch, Third Party Advisory () https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m - Patch, Third Party Advisory
References (MISC) https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4 - Patch () https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4 - Patch
References (MISC) https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html - () https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html -
CWE CWE-384 CWE-613

12 Jul 2023, 01:15

Type Values Removed Values Added
CWE CWE-613 CWE-384
References
  • (MISC) https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html -
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.

23 Jun 2023, 19:39

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

Information

Published : 2023-02-03 22:15

Updated : 2025-02-13 17:15


NVD link : CVE-2022-24895

Mitre link : CVE-2022-24895


JSON object : View

Products Affected

sensiolabs

  • symfony
CWE
CWE-613

Insufficient Session Expiration