Skip to content

CVE-2021-41268 Cookie persistence in Symfony

HighCVSS 8.8 EPSS 1.3% PoC
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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