#VU67935 Permissions, Privileges, and Access Controls in Keycloak - CVE-2022-2668


Vulnerability identifier: #VU67935

Vulnerability risk: Low

CVSSv4.0: 1.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

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
https://bugzilla.redhat.com/show_bug.cgi?id=2115392
https://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