CVE-2022-24895
"Symfony CSRF Protection Bypass via Session Regeneration"
Description
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.
INFO
Published Date :
Feb. 3, 2023, 10:15 p.m.
Last Modified :
Nov. 21, 2024, 6:51 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-24895
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-24895
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-24895
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml Added Reference https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946 Added Reference https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4 Added Reference https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m Added Reference https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jul. 12, 2023
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html [No Types Assigned] -
Reanalysis by [email protected]
Jun. 23, 2023
Action Type Old Value New Value Added CWE NIST CWE-613 -
Initial Analysis by [email protected]
Feb. 15, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml No Types Assigned https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2022-24895.yaml Issue Tracking Changed Reference Type https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946 No Types Assigned https://github.com/symfony/security-bundle/commit/076fd2088ada33d760758d98ff07ddedbf567946 Patch Changed Reference Type https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4 No Types Assigned https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4 Patch Changed Reference Type https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m No Types Assigned https://github.com/symfony/symfony/security/advisories/GHSA-3gv2-29qc-v67m Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 4.4.50 *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.4.20 *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 6.0.0 up to (excluding) 6.0.20 *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 6.1.0 up to (excluding) 6.1.12 *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 6.2.0 up to (excluding) 6.2.6
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-24895
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-24895
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.23 }} 0.03%
score
0.61018
percentile