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

exploitDog

github логотип

GHSA-3r8j-pmch-5j2h

Опубликовано: 05 дек. 2019
Источник: github
Github: Прошло ревью
CVSS3: 3.5

Описание

Internal exception message exposure for login action in Sylius

Internal exception message exposure for login action

Impact

Exception messages from internal exceptions (like database exception) are wrapped by \Symfony\Component\Security\Core\Exception\AuthenticationServiceException and propagated through the system to UI. Therefore, some internal system information may leak and be visible to the customer.

A validation message with the exception details will be presented to the user when one will try to log into the shop.

Patches

Has the problem been patched? What versions should users upgrade to?

Workarounds

The src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig file should be overridden and lines https://github.com/Sylius/Sylius/blob/1.4/src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig#L13-L17 should be replaced with

{% if last_error %} <div class="ui left aligned basic segment"> {{ messages.error(last_error.messageKey) }} </div> {% endif %}

The messageKey field should be used instead of the message.

Пакеты

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

sylius/sylius

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

< 1.3.14

1.3.14

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

sylius/sylius

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

>= 1.4.0, < 1.4.10

1.4.10

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

sylius/sylius

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

>= 1.5.0, < 1.5.7

1.5.7

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

sylius/sylius

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

>= 1.6.0, < 1.6.3

1.6.3

EPSS

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

3.5 Low

CVSS3

Дефекты

CWE-209

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

CVSS3: 3.5
nvd
около 6 лет назад

In affected versions of Sylius, exception messages from internal exceptions (like database exception) are wrapped by \Symfony\Component\Security\Core\Exception\AuthenticationServiceException and propagated through the system to UI. Therefore, some internal system information may leak and be visible to the customer. A validation message with the exception details will be presented to the user when one will try to log into the shop. This has been patched in versions 1.3.14, 1.4.10, 1.5.7, and 1.6.3.

EPSS

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

3.5 Low

CVSS3

Дефекты

CWE-209