CVE-2021-41268
published 2021-11-24CVE-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…
PriorityP354high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.28%
66.9th percentile
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.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | symfony | — | — |
| sensiolabs | symfony | >= 5.3.0 < 5.3.12 | 5.3.12 |
| symfony | security-bundle | >= 5.3.0 < 5.3.12 | 5.3.12 |
| symfony | symfony | — | — |
| symfony | symfony | >= 5.3.0 < 5.3.12 | 5.3.12 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
vendor_debian6.5LOW
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.
OSV
Cookie persistence after password changes in symfony/security-bundle
osv·2021-11-24
CVE-2021-41268 [MEDIUM] Cookie persistence after password changes in symfony/security-bundle
Cookie persistence after password changes in symfony/security-bundle
Description
Since the rework of the Remember me cookie in Symfony 5.3, the cookie is not invalidated anymore when the user changes its 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.
Resolution
Symfony now makes the password part of the signature by default. In that way, when the password changes then the cookie is not valid anymore.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc) for branch 5.3.
Credits
We would like to thank Thibaut Decherit for reporting the issue and Wouter J for fixing the i
GHSA
Cookie persistence after password changes in symfony/security-bundle
ghsa·2021-11-24
CVE-2021-41268 [MEDIUM] CWE-384 Cookie persistence after password changes in symfony/security-bundle
Cookie persistence after password changes in symfony/security-bundle
Description
Since the rework of the Remember me cookie in Symfony 5.3, the cookie is not invalidated anymore when the user changes its 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.
Resolution
Symfony now makes the password part of the signature by default. In that way, when the password changes then the cookie is not valid anymore.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc) for branch 5.3.
Credits
We would like to thank Thibaut Decherit for reporting the issue and Wouter J for fixing the i
Debian
CVE-2021-41268: symfony - Symfony/SecurityBundle is the security system for Symfony, a PHP framework for w...
vendor_debian·2021·CVSS 6.5
CVE-2021-41268 [MEDIUM] CVE-2021-41268: symfony - Symfony/SecurityBundle is the security system for Symfony, a PHP framework for w...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfchttps://github.com/symfony/symfony/pull/44243https://github.com/symfony/symfony/releases/tag/v5.3.12https://github.com/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqrhttps://github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfchttps://github.com/symfony/symfony/pull/44243https://github.com/symfony/symfony/releases/tag/v5.3.12https://github.com/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqr
2021-11-24
Published