Vulnerability · Published Apr 25, 2024 · Assigned by redhat
CVE-2023-3597Keycloak: secondary factor bypass in step-up authentication
Medium 5.0
In plain English
A medium-severity improper authentication in keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.0Medium
Exploit odds (30 days)0.6%top 51.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
A flaw was found in Keycloak, where it does not correctly validate its client step-up authentication in org.keycloak.authentication. This flaw allows a remote user authenticated with a password to register a false second authentication factor along with an existing one and bypass authentication.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 22.0.10 | GHSA-4f53-xh3v-g8x4 |
| Maven | org.keycloak:keycloak-services | 24.0.3 | GHSA-4f53-xh3v-g8x4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| keycloak | 0 – before 22.0.1023.0.0 – before 24.0.3 | |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22 | see references |
| Red Hat | Red Hat build of Keycloak 22.0.10 | see references |
| Red Hat | RHSSO 7.6.8 | see references |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- RHSA-2024:1866 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1867 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1868 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-3597 vdb-entry, x_refsource_REDHAT
- RHBZ#2221760 issue-tracking, x_refsource_REDHAT