CVE-2022-23601
published 2022-02-01CVE-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…
PriorityP343high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
0.57%
43.3th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | symfony | — | — |
| sensiolabs | symfony | < 5.3.15 | 5.3.15 |
| sensiolabs | symfony | >= 5.4.0 < 5.4.4 | 5.4.4 |
| sensiolabs | symfony | >= 6.0.0 < 6.0.4 | 6.0.4 |
| symfony | framework-bundle | >= 5.3.14 < 5.3.15 | 5.3.15 |
| symfony | framework-bundle | >= 5.4.3 < 5.4.4 | 5.4.4 |
| symfony | framework-bundle | >= 6.0.3 < 6.0.4 | 6.0.4 |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
vendor_debian8.1LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
CSRF token missing in Symfony
ghsa·2022-02-01
CVE-2022-23601 [HIGH] CWE-352 CSRF token missing in Symfony
CSRF token missing in Symfony
Description
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.
Resolution
Symfony restored the default configuration to enable the CSRF protection by default.
The patch for this i
OSV
CSRF token missing in Symfony
osv·2022-02-01
CVE-2022-23601 [HIGH] CSRF token missing in Symfony
CSRF token missing in Symfony
Description
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.
Resolution
Symfony restored the default configuration to enable the CSRF protection by default.
The patch for this i
Debian
CVE-2022-23601: symfony - Symfony is a PHP framework for web and console applications and a set of reusabl...
vendor_debian·2022·CVSS 8.1
CVE-2022-23601 [HIGH] CVE-2022-23601: symfony - Symfony is a PHP framework for web and console applications and a set of reusabl...
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 user
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50https://github.com/symfony/symfony/security/advisories/GHSA-vvmr-8829-6whxhttps://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50https://github.com/symfony/symfony/security/advisories/GHSA-vvmr-8829-6whx
2022-02-01
Published