CVE Catalog

CVE-2023-6717

MediumCVSS 6.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.71%

50th percentile - higher than 50% of all known CVEs

Summary

A flaw in SAML client registration in Keycloak allows an administrator to register malicious JavaScript URIs as Assertion Consumer Service POST Binding URLs (ACS), posing a Cross-Site Scripting (XSS) risk. This may allow a malicious admin in one realm or a client with registration access to target users in different realms or applications, executing arbitrary JavaScript in their contexts upon form submission.

Risk Assessment

The risk includes potential session hijacking, unauthorized access, and harmful actions, compromising the confidentiality, integrity, and availability of the entire Keycloak instance. The attack can be performed by an administrator or a client with registration privileges.

Recommendation

It is recommended to update Keycloak to a patched version and restrict SAML client registration privileges. Also validate and sanitize URIs used in ACS configuration.

Other vulnerabilities in Keycloak

See all
Original NVD description (English source)

A flaw was found in the SAML client registration in Keycloak that could allow an administrator to register malicious JavaScript URIs as Assertion Consumer Service POST Binding URLs (ACS), posing a Cross-Site Scripting (XSS) risk. This issue may allow a malicious admin in one realm or a client with registration access to target users in different realms or applications, executing arbitrary JavaScript in their contexts upon form submission. This can enable unauthorized access and harmful actions, compromising the confidentiality, integrity, and availability of the complete KC instance.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS