#VU77767 Authentication Bypass by Spoofing in Keycloak


Published: 2023-06-28

Vulnerability identifier: #VU77767

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-2585

CWE-ID: CWE-290

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Keycloak
Server applications / Directory software, identity management

Vendor: Keycloak

Description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error within the Keycloak Device Authorisation Grant. A remote attacker can spoof parts of the device flow and use a device_code to retrieve an access token for other OAuth clients.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Keycloak: 10.0.0 - 21.1.1


External links
http://github.com/keycloak/keycloak/security/advisories/GHSA-f5h4-wmp5-xhg6


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability