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

exploitDog

github логотип

GHSA-xhw6-hjc9-679m

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

Описание

Pac4j token validation bypass if OpenID Connect provider supports none algorithm

If an OpenID Connect provider supports the “none” algorithm (i.e., tokens with no signature), pac4j v5.3.0 (and prior) does not refuse it without an explicit configuration on its side or for the “idtoken” response type which is not secure and violates the OpenID Core Specification. The "none" algorithm does not require any signature verification when validating the ID tokens, which allows the attacker to bypass the token validation by injecting a malformed ID token using "none" as the value of "alg" key in the header with an empty signature value.

Пакеты

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

org.pac4j:pac4j-oidc

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

< 4.5.5

4.5.5

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

org.pac4j:pac4j-oidc

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

>= 5.0, < 5.3.1

5.3.1

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-347

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

CVSS3: 7.5
nvd
около 4 лет назад

If an OpenID Connect provider supports the "none" algorithm (i.e., tokens with no signature), pac4j v5.3.0 (and prior) does not refuse it without an explicit configuration on its side or for the "idtoken" response type which is not secure and violates the OpenID Core Specification. The "none" algorithm does not require any signature verification when validating the ID tokens, which allows the attacker to bypass the token validation by injecting a malformed ID token using "none" as the value of "alg" key in the header with an empty signature value.

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-347