Bug 2167261 (CVE-2022-24895) - CVE-2022-24895 php-symfony: Possible CSRF token fixation
Summary: CVE-2022-24895 php-symfony: Possible CSRF token fixation
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-24895
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2167263 2167262
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-06 04:41 UTC by Sandipan Roy
Modified: 2023-02-10 01:06 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-10 01:06:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Sandipan Roy 2023-02-06 04:41:58 UTC
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.

https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946
https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml
https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m
https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4

Comment 1 Sandipan Roy 2023-02-06 04:42:20 UTC
Created php-symfony tracking bugs for this issue:

Affects: epel-7 [bug 2167263]
Affects: fedora-all [bug 2167262]

Comment 2 Product Security DevOps Team 2023-02-10 01:06:40 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.