CVE-2022-23601
Last modified
CVE-2022-23601 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.57% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sensiolabs | Symfony | < 5.3.15 |
| Sensiolabs | Symfony | >= 5.4.0, < 5.4.4 |
| Sensiolabs | Symfony | >= 6.0.0, < 6.0.4 |
References
- https://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50Patch, Third Party Advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-vvmr-8829-6whxPatch, Third Party Advisory
- https://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50Patch, Third Party Advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-vvmr-8829-6whxPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-23601?
How severe is CVE-2022-23601?
How do I fix CVE-2022-23601?
Are you affected by CVE-2022-23601?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
