#VU67935 Permissions, Privileges, and Access Controls in Keycloak


Published: 2022-10-05

Vulnerability identifier: #VU67935

Vulnerability risk: Low

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

CWE-ID: CWE-264

Exploitation vector: Network

Exploit availability: No

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

Vendor: Keycloak

Description

The vulnerability allows a remote user to bypass implemented security restrictions.

The vulnerability exists due to application allows to upload an arbitrary JavaScript for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled. A remote user can upload a potentially dangerous file and perform XSS attacks.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Keycloak: 15.0.0 - 19.0.1


External links
http://bugzilla.redhat.com/show_bug.cgi?id=2115392
http://github.com/keycloak/keycloak/security/advisories/GHSA-wf7g-7h6h-678v


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