Vulnerability in Sensiolabs Symfony
CVE-2021-41268
Symfony/SecurityBundle is the security system for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Since the rework of the Remember me cookie in version 5.3.0, the cookie is not invalidated when the user changes their password. Attackers can therefore maintain their access to the account even if the password is changed as long as they have had the chance to login once and get a valid remember me cookie. Starting with version 5.3.12, Symfony makes the password part of the signature by default. In that way, when the password changes, then the cookie is not valid anymore.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.013, 71.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Sensiolabs Symfony
- Symfony — versions >= 5.3.0, < 5.3.12
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (liuyu771/GithubRepoSpider, moften/Symfony-CVE-Scanner-PoC-, plzheheplztrying/cve_monitor, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqr (Patch, Third Party Advisory)
- github.com/symfony/symfony/pull/44243 (Patch, Third Party Advisory)
- github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc (Patch, Third Party Advisory)
- github.com/symfony/symfony/releases/tag/v5.3.12 (Third Party Advisory, Release Notes)