CVE-2021-41268 Cookie persistence in Symfony
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- PHPDebian
Description
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sensiolabs symfony | >= 5.3.0, < 5.3.12 | 5.3.12 | Fixed |
| symfony/security-bundle(Packagist) | = v5.3.0; = v5.3.2; = v5.3.3; = v5.3.4 +4 more | 5.3.12 | Fixed |
| symfony/symfony(Packagist) | = v5.3.0; = v5.3.1; = v5.3.2; = v5.3.3 +9 more | 5.3.12 | Fixed |
| symfony/symfony | = >= 5.3.0, < 5.3.12 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| symfony/security-bundle(Packagist) | >= 5.3.0, < 5.3.12 | 5.3.12 |
| symfony/security-bundle(Packagist) | = v5.3.0 | No fix listed |
| symfony/security-bundle(Packagist) | = v5.3.11 | No fix listed |
| symfony/security-bundle(Packagist) | = v5.3.2 | No fix listed |
| symfony/security-bundle(Packagist) | = v5.3.3 | No fix listed |
| symfony/security-bundle(Packagist) | = v5.3.4 | No fix listed |
| symfony/security-bundle(Packagist) | = v5.3.7 | No fix listed |
| symfony/security-bundle(Packagist) | = v5.3.8 | No fix listed |
| symfony/symfony(Packagist) | >= 5.3.0, < 5.3.12 | 5.3.12 |
| symfony/symfony(Packagist) | = v5.3.0 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.1 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.10 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.11 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.2 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.3 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.4 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.5 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.6 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.7 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.8 | No fix listed |
| symfony/symfony(Packagist) | = v5.3.9 | No fix listed |
| sensiolabs symfony | >= 5.3.0, < 5.3.12 | 5.3.12 |
| symfony/symfony | = >= 5.3.0, < 5.3.12 | No fix listed |
References
- github.com patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com exploit
- github.com exploit
- github.com product
- github.com release-notes third-party-advisory
- symfony.com
- Debian Security Tracker CVE-2021-41268 vendor-advisory
- github.com