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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2022-01-06T12:52:04

Updated: 2024-08-04T04:32:13.070Z

Reserved: 2021-12-13T00:00:00

Link: CVE-2021-44878

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-01-06T13:15:08.180

Modified: 2022-05-13T15:51:59.780

Link: CVE-2021-44878

cve-icon Redhat

No data.