Authentication Bypass by Spoofing Affecting org.keycloak:keycloak-server-spi-private package, versions [,21.1.2)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGKEYCLOAK-5750277
- published 2 Jul 2023
- disclosed 30 Jun 2023
- credit Timo Müller
Introduced: 30 Jun 2023
CVE-2023-2585 Open this link in a new tabHow to fix?
Upgrade org.keycloak:keycloak-server-spi-private
to version 21.1.2 or higher.
Overview
org.keycloak:keycloak-server-spi-private is an open source identity and access management solution for modern applications and services.
Affected versions of this package are vulnerable to Authentication Bypass by Spoofing within the Keycloak Device Authorisation Grant due to improper verification of the device code holder.
Exploiting this vulnerability is possible under certain pre-conditions and it allows an attacker to spoof parts of the device flow and use a device_code
to retrieve an access token for other OAuth clients.