Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-qw36-p97w-vcqr

Опубликовано: 24 нояб. 2021
Источник: github
Github: Прошло ревью
CVSS3: 6.5

Описание

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 for branch 5.3.

Credits

We would like to thank Thibaut Decherit for reporting the issue and Wouter J for fixing the issue.

Пакеты

Наименование

symfony/security-bundle

composer
Затронутые версииВерсия исправления

>= 5.3.0, < 5.3.12

5.3.12

Наименование

symfony/symfony

composer
Затронутые версииВерсия исправления

>= 5.3.0, < 5.3.12

5.3.12

EPSS

Процентиль: 64%
0.00476
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-384

Связанные уязвимости

CVSS3: 6.5
ubuntu
больше 3 лет назад

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.

CVSS3: 6.5
nvd
больше 3 лет назад

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.

CVSS3: 6.5
debian
больше 3 лет назад

Symfony/SecurityBundle is the security system for Symfony, a PHP frame ...

EPSS

Процентиль: 64%
0.00476
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-384