Overview
- Description
- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 5
- Impact score
- 2.9
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:N/I:P/A:N
Weaknesses
- nvd@nist.gov
- CWE-347
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "2C74CE58-A3A8-44B5-83EA-611E214FD060", "versionEndExcluding": "4.5.5" }, { "criteria": "cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "949A0839-AB1F-4806-B5F9-8317835EB0E2", "versionEndExcluding": "5.3.1", "versionStartIncluding": "5.0.0" } ], "operator": "OR" } ] } ]