CVE-2023-6717 json
Keycloak: xss via assertion consumer service url in saml post-binding flow
published 2024-04-17 2 y ago modified 2026-11-05 3 d ago also GHSA-8rmm-gm28-pj8q , EUVD-2024-1164
- cvss
- 6.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.keycloak:keycloak-services 22.0.10, 24.0.3
- Red Hat Red Hat build of Keycloak 22 22-13, 22-16, 22.0.10-1
- Red Hat RHOSS-1.33-RHEL-8 1.33.0-3, 1.33.0-5
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-6717 updated cvss 6.0
keycloak: XSS via assertion consumer service URL in SAML POST-binding flow
-
Red Hat Migration Toolkit for Applications 6 mta/mta-ui-rhel8affected: no fix planned “Will not fix”
-
Red Hat build of Apicurio Registry 2 keycloak keycloakaffected: no fix available
-
Red Hat Data Grid 8 keycloak keycloakaffected: no fix planned “Will not fix”
-
Red Hat Decision Manager 7 keycloak keycloakaffected: no fix available “Fix deferred”
-
Red Hat Fuse 7 keycloak keycloak Red Hat JBoss Data Grid 7 keycloak keycloakaffected: no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform 6 keycloak keycloak, rh-sso7-keycloak rh-sso7-keycloak, org.keycloak-keycloak-parent org.keycloak-keycloak-parentaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift GitOps openshift-gitops-1/gitops-rhel8-operatoraffected: no fix planned “Will not fix”
-
Red Hat Process Automation 7 keycloak keycloakaffected: no fix available “Fix deferred”
show 7 moreshow fewer
-
Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloakaffected: no fix available
-
Red Hat AMQ Broker 7fixed: vendor fix RHSA-2024:2945
-
Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 22-13, rhbk/keycloak-rhel9-operator 22-16, rhbk/keycloak-operator-bundle 22.0.10-1fixed: vendor fix RHSA-2024:1867
-
Red Hat build of Keycloak 22.0.10fixed: vendor fix RHSA-2024:1868
-
Red Hat OpenShift Serverless 1.33 openshift-serverless-1/logic-rhel8-operator 1.33.0-3, openshift-serverless-1/logic-operator-bundle 1.33.0-5, openshift-serverless-1/logic-swf-builder-rhel8 1.33.0-5, openshift-serverless-1/logic-swf-devmode-rhel8 1.33.0-5, openshift-serverless-1/logic-data-index-ephemeral-rhel8 1.33.0-5, openshift-serverless-1/logic-data-index-postgresql-rhel8 1.33.0-5, +3 morefixed: vendor fix RHSA-2024:4057
-
Red Hat RHPAM 7.13.5 asyncfixed: vendor fix RHSA-2024:1353
-
Red Hat Migration Toolkit for Applications 7 mta/mta-ui-rhel8 Red Hat build of Quarkus keycloak-core Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9 Red Hat JBoss Enterprise Application Platform 7 keycloak keycloak Red Hat JBoss Enterprise Application Platform 8 keycloak keycloak Red Hat JBoss Enterprise Application Platform Expansion Pack keycloak keycloaknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
| GitHub | 3.1 | 6.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | <22.0.10 >=23.0.0, <24.0.3 |
22.0.10 24.0.3 |
Affected products
- Red Hat Red Hat AMQ Broker 7
- Red Hat Red Hat build of Keycloak 22
- Red Hat Red Hat build of Keycloak 22.0.10
- Red Hat RHOSS-1.33-RHEL-8
- Red Hat RHPAM 7.13.5 async
- Red Hat Migration Toolkit for Applications 6
- Red Hat Migration Toolkit for Applications 7
- Red Hat Red Hat build of Apicurio Registry 2
- Red Hat Red Hat build of Quarkus
- Red Hat Red Hat Data Grid 8
- Red Hat Red Hat Decision Manager 7
- Red Hat Red Hat Developer Hub 1
- Red Hat Red Hat Fuse 7
- Red Hat Red Hat JBoss Data Grid 7
- Red Hat Red Hat JBoss Enterprise Application Platform 6
- Red Hat Red Hat JBoss Enterprise Application Platform 7
- Red Hat Red Hat JBoss Enterprise Application Platform 8
- Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat Red Hat OpenShift GitOps
- Red Hat Red Hat Process Automation 7
- Red Hat Red Hat Single Sign-On 7
Classification
References
-
access.redhat.com
/errata/RHSA-2024:1353
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:1867
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:1868
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2945
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:4057
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2023-6717
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2253952
issue-tracking, web
-
github.com
/keycloak/keycloak/security/advisories/GHSA-8rmm-gm28-pj8q
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-6717
advisory
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2023-6717
- GitHub Advisory GHSA-8rmm-gm28-pj8q
- NVD CVE-2023-6717
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.