8.1
HIGH
CVE-2023-2585
Keycloak Device Authorization Code Validation Bypass
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.

INFO

Published Date :

Dec. 21, 2023, 10:15 a.m.

Last Modified :

Nov. 21, 2024, 7:58 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.2

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2023-2585 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat openshift_container_platform
3 Redhat single_sign-on
4 Redhat openshift_container_platform_for_linuxone
5 Redhat openshift_container_platform_for_power
6 Redhat openshift_container_platform_for_ibm_z

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-2585 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-2585 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2023:3883
    Added Reference https://access.redhat.com/errata/RHSA-2023:3884
    Added Reference https://access.redhat.com/errata/RHSA-2023:3885
    Added Reference https://access.redhat.com/errata/RHSA-2023:3888
    Added Reference https://access.redhat.com/errata/RHSA-2023:3892
    Added Reference https://access.redhat.com/security/cve/CVE-2023-2585
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2196335
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 02, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:3883 No Types Assigned https://access.redhat.com/errata/RHSA-2023:3883 Vendor Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:3884 No Types Assigned https://access.redhat.com/errata/RHSA-2023:3884 Vendor Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:3885 No Types Assigned https://access.redhat.com/errata/RHSA-2023:3885 Vendor Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:3888 No Types Assigned https://access.redhat.com/errata/RHSA-2023:3888 Vendor Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:3892 No Types Assigned https://access.redhat.com/errata/RHSA-2023:3892 Vendor Advisory
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2023-2585 No Types Assigned https://access.redhat.com/security/cve/CVE-2023-2585 Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2196335 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2196335 Issue Tracking, Vendor Advisory
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration AND OR *cpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform_for_ibm_z:4.9:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform_for_ibm_z:4.10:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.9:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.10:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*
  • CVE Received by [email protected]

    Dec. 21, 2023

    Action Type Old Value New Value
    Added 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.
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:3883 [No types assigned]
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:3884 [No types assigned]
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:3885 [No types assigned]
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:3888 [No types assigned]
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:3892 [No types assigned]
    Added Reference Red Hat, Inc. https://access.redhat.com/security/cve/CVE-2023-2585 [No types assigned]
    Added Reference Red Hat, Inc. https://bugzilla.redhat.com/show_bug.cgi?id=2196335 [No types assigned]
    Added CWE Red Hat, Inc. CWE-358
    Added CVSS V3.1 Red Hat, Inc. AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-2585 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-2585 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.10 }} 0.01%

score

0.42561

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability