Bug 2167261 (CVE-2022-24895)

Summary: CVE-2022-24895 php-symfony: Possible CSRF token fixation
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-10 01:06:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2167263, 2167262    
Bug Blocks:    

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.