Vulnerability · Published Dec 21, 2023 · Assigned by redhat
CVE-2023-2585Keycloak: client access via device auth request spoof
Low 3.5
In plain English
A low-severity security flaw in Red Hat Single Sign-On 7 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Keycloak's device authorization grant does not correctly validate the device code and client ID. An attacker client could abuse the missing validation to spoof a client consent request and trick an authorization admin into granting consent to a malicious OAuth client or possible unauthorized access to an existing OAuth client.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-server-spi-private | 21.1.2 | GHSA-f5h4-wmp5-xhg6 |
| Maven | org.keycloak:keycloak-services | 21.1.2 | GHSA-f5h4-wmp5-xhg6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Single Sign-On 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | see references |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | see references |
| Red Hat | RHEL-8 based Middleware Containers | see references |
Weakness: CWE-358 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
References
- RHSA-2023:3883 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:3884 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:3885 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:3888 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:3892 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-2585 vdb-entry, x_refsource_REDHAT
- RHBZ#2196335 issue-tracking, x_refsource_REDHAT