#VU84614 Open redirect in Keycloak


Published: 2023-12-20 | Updated: 2023-12-21

Vulnerability identifier: #VU84614

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-6291

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 in the verifyRedirectUri method. A remote attacker can create a link that leads to a trusted website, however, when clicked, redirects the victim to arbitrary domain.

Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Keycloak: 23.0.0 - 23.0.1


External links
http://github.com/keycloak/keycloak/security/advisories/GHSA-mpwq-j3xf-7m5w
http://access.redhat.com/errata/RHSA-2023:7861
http://access.redhat.com/errata/RHSA-2023:7860


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