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

exploitDog

github логотип

GHSA-h7vf-5wrv-9fhv

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

Описание

Symfony storing cookie headers in HttpCache

Description

The Symfony HTTP cache system acts as a reverse proxy: it caches HTTP responses (including headers) and returns them to clients.

In a recent AbstractSessionListener change, the response might now contain a Set-Cookie header. If the Symfony HTTP cache system is enabled, this header might be stored and returned to some other clients. An attacker can use this vulnerability to retrieve the victim's session.

Resolution

The HttpStore constructor now takes a parameter containing a list of private headers that are removed from the HTTP response headers. The default value for this parameter is Set-Cookie, but it can be overridden or extended by the application.

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

Credits

We would like to thank Soner Sayakci for reporting the issue and Nicolas Grekas for fixing it.

Пакеты

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

symfony/http-kernel

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

>= 2.0.0, < 4.4.50

4.4.50

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

symfony/http-kernel

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

>= 5.0.0, < 5.4.20

5.4.20

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

symfony/http-kernel

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

>= 6.0.0, < 6.0.20

6.0.20

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

symfony/http-kernel

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

>= 6.1.0, < 6.1.12

6.1.12

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

symfony/http-kernel

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

>= 6.2.0, < 6.2.6

6.2.6

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

symfony/symfony

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

>= 2.0.0, < 4.4.50

4.4.50

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

symfony/symfony

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

>= 5.0.0, < 5.4.20

5.4.20

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

symfony/symfony

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

>= 6.0.0, < 6.0.20

6.0.20

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

symfony/symfony

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

>= 6.1.0, < 6.1.12

6.1.12

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

symfony/symfony

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

>= 6.2.0, < 6.2.6

6.2.6

EPSS

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

5.9 Medium

CVSS3

Дефекты

CWE-285

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

CVSS3: 5.9
ubuntu
больше 2 лет назад

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The Symfony HTTP cache system, acts as a reverse proxy: It caches entire responses (including headers) and returns them to the clients. In a recent change in the `AbstractSessionListener`, the response might contain a `Set-Cookie` header. If the Symfony HTTP cache system is enabled, this response might bill stored and return to the next clients. An attacker can use this vulnerability to retrieve the victim's session. This issue has been patched and is available for branch 4.4.

CVSS3: 5.9
nvd
больше 2 лет назад

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The Symfony HTTP cache system, acts as a reverse proxy: It caches entire responses (including headers) and returns them to the clients. In a recent change in the `AbstractSessionListener`, the response might contain a `Set-Cookie` header. If the Symfony HTTP cache system is enabled, this response might bill stored and return to the next clients. An attacker can use this vulnerability to retrieve the victim's session. This issue has been patched and is available for branch 4.4.

CVSS3: 5.9
debian
больше 2 лет назад

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

CVSS3: 9.8
fstec
больше 2 лет назад

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

CVSS3: 9.8
redos
11 месяцев назад

Множественные уязвимости php-symfony4

EPSS

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

5.9 Medium

CVSS3

Дефекты

CWE-285