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

exploitDog

nvd логотип

CVE-2022-31109

Опубликовано: 01 авг. 2022
Источник: nvd
CVSS3: 7.2
CVSS3: 6.1
EPSS Низкий

Описание

laminas-diactoros is a PHP package containing implementations of the PSR-7 HTTP message interfaces and PSR-17 HTTP message factory interfaces. Applications that use Diactoros, and are either not behind a proxy, or can be accessed via untrusted proxies, can potentially have the host, protocol, and/or port of a Laminas\Diactoros\Uri instance associated with the incoming server request modified to reflect values from X-Forwarded-* headers. Such changes can potentially lead to XSS attacks (if a fully-qualified URL is used in links) and/or URL poisoning. Since the X-Forwarded-* headers do have valid use cases, particularly in clustered environments using a load balancer, the library offers mitigation measures only in the v2 releases, as doing otherwise would break these use cases immediately. Users of v2 releases from 2.11.1 can provide an additional argument to Laminas\Diactoros\ServerRequestFactory::fromGlobals() in the form of a `Laminas\Diactoros\RequestFilter\RequestFilterInter

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:getlaminas:laminas-diactoros:*:*:*:*:*:*:*:*
Версия до 2.11.1 (исключая)

EPSS

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

7.2 High

CVSS3

6.1 Medium

CVSS3

Дефекты

CWE-79

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

CVSS3: 6.1
github
больше 3 лет назад

Diactoros before 2.11.1 vulnerable to HTTP Host Header Attack

EPSS

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

7.2 High

CVSS3

6.1 Medium

CVSS3

Дефекты

CWE-79