#VU62795 Missing Authorization in Keycloak


Published: 2022-05-04

Vulnerability identifier: #VU62795

Vulnerability risk: Medium

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

CVE-ID: CVE-2022-1245

CWE-ID: CWE-862

Exploitation vector: Network

Exploit availability: No

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

Vendor:

Description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to an error in the token exchange feature of keycloak. A client application holding a valid access token can exchange tokens for any target client by passing the client_id of the target. A remote user can bypass authorization process and escalate privileges within the application.

Mitigation
Install updates from vendor's website.

Vulnerable software versions


External links
http://bugzilla.redhat.com/show_bug.cgi?id=2071036


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user 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