CVE-2023-6717

Keycloak: xss via assertion consumer service url in saml post-binding flow

Published Apr 25, 2024 CVSS 3.1 · 6 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1164 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.
Github GHSA Github GHSA GHSA-8rmm-gm28-pj8q Keycloak Cross-site Scripting (XSS) via assertion consumer service URL in SAML POST-binding flow
History
Type Values Removed Values Added
First Time appeared Redhat jboss Bpms
CPEs cpe:/a:redhat:jboss_enterprise_bpms_platform:7 cpe:/a:redhat:jboss_bpms:7
Vendors & Products Redhat jboss Bpms
Type Values Removed Values Added
CPEs cpe:/a:redhat:quarkus:3
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:jboss_enterprise_bpms_platform:7.13