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

exploitDog

github логотип

GHSA-vvmr-8829-6whx

Опубликовано: 01 фев. 2022
Источник: github
Github: Прошло ревью
CVSS3: 8.1

Описание

CSRF token missing in Symfony

Description

The Symfony form component provides a CSRF protection mechanism by using a random token injected in the form and using the session to store and control the token submitted by the user. When using the FrameworkBundle, this protection can be enabled or disabled with the configuration. If the configuration is not specified, by default, the mechanism is enabled as long as the session is enabled.

In a recent change in the way the configuration is loaded, the default behavior has been dropped and, as a result, the CSRF protection is not enabled in form when not explicitly enabled, which makes the application sensible to CSRF attacks.

Resolution

Symfony restored the default configuration to enable the CSRF protection by default.

The patch for this issue is available here for branch 5.3.

Credits

We would like to thank Catalin Dan and David Lochner for reporting the issue and Jérémy Derussé for fixing the issue.

Пакеты

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

symfony/framework-bundle

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

= 5.3.14

5.3.15

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

symfony/framework-bundle

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

= 5.4.3

5.4.4

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

symfony/framework-bundle

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

= 6.0.3

6.0.4

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-352

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

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

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The Symfony form component provides a CSRF protection mechanism by using a random token injected in the form and using the session to store and control the token submitted by the user. When using the FrameworkBundle, this protection can be enabled or disabled with the configuration. If the configuration is not specified, by default, the mechanism is enabled as long as the session is enabled. In a recent change in the way the configuration is loaded, the default behavior has been dropped and, as a result, the CSRF protection is not enabled in form when not explicitly enabled, which makes the application sensible to CSRF attacks. This issue has been resolved in the patch versions listed and users are advised to update. There are no known workarounds for this issue.

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

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The Symfony form component provides a CSRF protection mechanism by using a random token injected in the form and using the session to store and control the token submitted by the user. When using the FrameworkBundle, this protection can be enabled or disabled with the configuration. If the configuration is not specified, by default, the mechanism is enabled as long as the session is enabled. In a recent change in the way the configuration is loaded, the default behavior has been dropped and, as a result, the CSRF protection is not enabled in form when not explicitly enabled, which makes the application sensible to CSRF attacks. This issue has been resolved in the patch versions listed and users are advised to update. There are no known workarounds for this issue.

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

Symfony is a PHP framework for web and console applications and a set ...

CVSS3: 8.8
fstec
больше 3 лет назад

Уязвимость программной платформы для разработки и управления веб-приложениями Symfony , связанная с недостаточной проверкой подлинности выполняемых запросов, позволяющая нарушителю осуществить CSRF-атаку

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-352