SB2022100527 - Multiple vulnerabilities in Keycloak
Published: October 5, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 secuirty vulnerabilities.
1) Cross-site scripting (CVE-ID: CVE-2022-0225)
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the group name while creating a new group from the admin console. A remote privileged user can inject and execute arbitrary HTML and JavaScript code in victim's browser.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
2) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2022-2668)
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.
3) Stored cross-site scripting (CVE-ID: CVE-2022-2256)
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data when handling roles functionality in the admin console. The vulnerability allows a privileged user to inject and execute arbitrary HTML and JavaScript code in victim's browser.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Remediation
Install update from vendor's website.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2040268
- https://github.com/keycloak/keycloak/security/advisories/GHSA-755v-r4x4-qf7m
- https://bugzilla.redhat.com/show_bug.cgi?id=2115392
- https://github.com/keycloak/keycloak/security/advisories/GHSA-wf7g-7h6h-678v
- https://bugzilla.redhat.com/show_bug.cgi?id=2101942
- https://github.com/keycloak/keycloak/security/advisories/GHSA-w9mf-83w3-fv49