Описание
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.
Ссылки
- PatchThird Party Advisory
- ProductThird Party Advisory
- MitigationVendor Advisory
- PatchThird Party Advisory
- ProductThird Party Advisory
- MitigationVendor Advisory
Уязвимые конфигурации
Конфигурация 1Версия до 4.5.5 (исключая)Версия от 5.0.0 (включая) до 5.3.1 (исключая)
Одно из
cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:*
cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:*
EPSS
Процентиль: 34%
0.00139
Низкий
7.5 High
CVSS3
5 Medium
CVSS2
Дефекты
CWE-347
Связанные уязвимости
CVSS3: 7.5
github
около 4 лет назад
Pac4j token validation bypass if OpenID Connect provider supports none algorithm
EPSS
Процентиль: 34%
0.00139
Низкий
7.5 High
CVSS3
5 Medium
CVSS2
Дефекты
CWE-347