CVE-2023-2585: Keycloak: client access via device auth request spoof

Published May 8, 2023
·
Updated

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 authed admin into granting consent to a malicious OAuth client, or possible unauthorized access to an existing OAuth client.

Other sources

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.

Under certain pre-conditions the vulnerability allows an attacker to spoof parts of the device flow and use a devicecode to retrieve an access token for other OAuth clients.

Affected Software

19 affected componentsFixes available
redhat/rh-sso7-keycloak<0:18.0.8-1.redhat_00001.1.el7
0:18.0.8-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:18.0.8-1.redhat_00001.1.el8
0:18.0.8-1.redhat_00001.1.el8
redhat/rh-sso7-keycloak<0:18.0.8-1.redhat_00001.1.el9
0:18.0.8-1.redhat_00001.1.el9
maven/org.keycloak:keycloak-server-spi-private<21.1.2
21.1.2
maven/org.keycloak:keycloak-services<21.1.2
21.1.2
All of the following
redhat Single Sign-on=7.6
Any of the following
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
All of the following
Any of the following
redhat OpenShift Container Platform=4.11
redhat OpenShift Container Platform=4.12
redhat Openshift Container Platform For Ibm Z=4.9
redhat Openshift Container Platform For Ibm Z=4.10
redhat Openshift Container Platform For Linuxone=4.9
redhat Openshift Container Platform For Linuxone=4.10
redhat Openshift Container Platform For Power=4.9
redhat Openshift Container Platform For Power=4.10
redhat Enterprise Linux=8.0
redhat Single Sign-on

Event History

May 8, 2023
Data Sourced
via Red Hat·07:41 PM
DescriptionSeverityAffected Software
Jun 26, 2023
CVE Published
12:00 AM
Jun 30, 2023
Advisory Published
08:29 PM
Dec 21, 2023
CVE Published
via MITRE·09:24 AM
Data Sourced
via MITRE·09:24 AM
DescriptionSeverityWeakness
Data Sourced
10:15 AM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-2585?

CVE-2023-2585 is considered a significant vulnerability due to its potential for client consent spoofing.

2

How do I fix CVE-2023-2585?

To remediate CVE-2023-2585, update to the specified secure versions of the affected software packages.

3

What types of systems are affected by CVE-2023-2585?

CVE-2023-2585 affects multiple versions of rh-sso7-keycloak and several Red Hat OpenShift Container Platform versions.

4

What are the implications of CVE-2023-2585?

Exploitation of CVE-2023-2585 could allow attackers to impersonate legitimate clients and manipulate admin consent processes.

5

Who should be notified about CVE-2023-2585?

System administrators and cybersecurity teams using affected versions of Keycloak should be notified to assess and implement fixes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203