#VU85171 Open redirect in Keycloak


Published: 2024-01-09 | Updated: 2024-01-23

Vulnerability identifier: #VU85171

Vulnerability risk: Low

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

CVE-ID: CVE-2023-6927

CWE-ID: CWE-601

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 redirect victims to arbitrary URL.

The vulnerability exists due to improper sanitization of user-supplied data. A remote attacker can steal authorization codes or tokens from clients using a wildcard in the JARM response mode "form_post.jwt".

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Keycloak: 22.0.0 - 23.0.3


External links
http://access.redhat.com/security/cve/CVE-2023-6927
http://bugzilla.redhat.com/show_bug.cgi?id=2255027
http://access.redhat.com/errata/RHSA-2024:0100
http://access.redhat.com/errata/RHSA-2024:0101
http://github.com/keycloak/keycloak/security/advisories/GHSA-9vm7-v8wj-3fqw


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