CVE-2022-23601

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The Symfony form component provides a CSRF protection mechanism by using a random token injected in the form and using the session to store and control the token submitted by the user. When using the FrameworkBundle, this protection can be enabled or disabled with the configuration. If the configuration is not specified, by default, the mechanism is enabled as long as the session is enabled. In a recent change in the way the configuration is loaded, the default behavior has been dropped and, as a result, the CSRF protection is not enabled in form when not explicitly enabled, which makes the application sensible to CSRF attacks. This issue has been resolved in the patch versions listed and users are advised to update. There are no known workarounds for this issue.
Configurations

Configuration 1 (hide)

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

History

05 Feb 2022, 02:18

Type Values Removed Values Added
References (CONFIRM) https://github.com/symfony/symfony/security/advisories/GHSA-vvmr-8829-6whx - (CONFIRM) https://github.com/symfony/symfony/security/advisories/GHSA-vvmr-8829-6whx - Patch, Third Party Advisory
References (MISC) https://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50 - (MISC) https://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50 - Patch, Third Party Advisory
CPE cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
First Time Sensiolabs
Sensiolabs symfony
CVSS v2 : unknown
v3 : unknown
v2 : 6.8
v3 : 8.8

01 Feb 2022, 13:56

Type Values Removed Values Added
New CVE

Information

Published : 2022-02-01 13:15

Updated : 2023-12-10 14:09


NVD link : CVE-2022-23601

Mitre link : CVE-2022-23601

CVE.ORG link : CVE-2022-23601


JSON object : View

Products Affected

sensiolabs

  • symfony
CWE
CWE-352

Cross-Site Request Forgery (CSRF)