Keycloak: xss via assertion consumer service url in saml post-binding flow
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Cross-site scripting, Spoofing
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Partial Red Hat: 5 fixed, 10 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79 and CWE-601.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | before 22.0.10; 24.0.0 to before 24.0.3 | 22.0.10, 24.0.3 | Patch available | CNA |
| Red Hat | Red Hat AMQ Broker 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 22 | — | 22.0.10-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 22 | — | 22-13 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 22 | — | 22-16 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 22.0.10 | — | — | Not affected | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-3 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHOSS-1.33-RHEL-8 | — | 1.33.0-5 | Patch available | CNA |
| Red Hat | RHPAM 7.13.5 async | — | — | Not affected | CNA |
| Red Hat | Migration Toolkit for Applications 6 | — | — | No fix listed | CNA |
| Red Hat | Migration Toolkit for Applications 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Apicurio Registry 2 | — | — | No fix listed | CNA |
| Red Hat | Red Hat build of Quarkus | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Quarkus | — | — | Not affected | CNA |
| Red Hat | Red Hat Data Grid 8 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Decision Manager 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Developer Hub 1 | — | — | Not affected | CNA |
| Red Hat | Red Hat Fuse 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Data Grid 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | — | — | Not affected | CNA |
| Red Hat | Red Hat OpenShift GitOps | — | — | No fix listed | CNA |
| Red Hat | Red Hat Process Automation 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | No fix listed | CNA |
| — | org.keycloak:keycloak-services (Maven) | before 22.0.10 | 22.0.10 | Patch available | GHSA-8rmm-gm28-pj8q |
| — | org.keycloak:keycloak-services (Maven) | 23.0.0 to before 24.0.3 | 24.0.3 | Patch available | GHSA-8rmm-gm28-pj8q |
- keycloak Vendor— Affected before 22.0.10; 24.0.0 to before 24.0.3 Fixed in 22.0.10, 24.0.3 Patch available CNA
- Red Hat AMQ Broker 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22.0.10-1 Patch available CNA
- Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-13 Patch available CNA
- Red Hat build of Keycloak 22 VendorRed Hat Affected — Fixed in 22-16 Patch available CNA
- Red Hat build of Keycloak 22.0.10 VendorRed Hat Affected — Fixed in — Not affected CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-3 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHOSS-1.33-RHEL-8 VendorRed Hat Affected — Fixed in 1.33.0-5 Patch available CNA
- RHPAM 7.13.5 async VendorRed Hat Affected — Fixed in — Not affected CNA
- Migration Toolkit for Applications 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Migration Toolkit for Applications 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Apicurio Registry 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat build of Quarkus VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Quarkus VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Data Grid 8 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Decision Manager 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Developer Hub 1 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Fuse 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Data Grid 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat JBoss Enterprise Application Platform 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat JBoss Enterprise Application Platform Expansion Pack VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat OpenShift GitOps VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Process Automation 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- org.keycloak:keycloak-services (Maven) Vendor— Affected before 22.0.10 Fixed in 22.0.10 Patch available GHSA-8rmm-gm28-pj8q
- org.keycloak:keycloak-services (Maven) Vendor— Affected 23.0.0 to before 24.0.3 Fixed in 24.0.3 Patch available GHSA-8rmm-gm28-pj8q
CPE names CNA · 22
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/a:redhat:amq_broker:7.12 | 7.12 | — | Red Hat |
| cpe:/a:redhat:build_keycloak:22::el9 | 22 | — | Red Hat |
| cpe:/a:redhat:build_keycloak:22 | 22 | — | Red Hat |
| cpe:/a:redhat:openshift_serverless:1.33::el8 | 1.33 | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_bpms_platform:7.13 | 7.13 | — | Red Hat |
| cpe:/a:redhat:migration_toolkit_applications:6 | 6 | — | Red Hat |
| cpe:/a:redhat:migration_toolkit_applications:7 | 7 | — | Red Hat |
| cpe:/a:redhat:service_registry:2 | 2 | — | Red Hat |
| cpe:/a:redhat:quarkus:2 | 2 | — | Red Hat |
| cpe:/a:redhat:quarkus:3 | 3 | — | Red Hat |
- cpe:/a:redhat:amq_broker:7.12 Versions 7.12 — ·Red Hat
- cpe:/a:redhat:build_keycloak:22::el9 Versions 22 — ·Red Hat
- cpe:/a:redhat:build_keycloak:22 Versions 22 — ·Red Hat
- cpe:/a:redhat:openshift_serverless:1.33::el8 Versions 1.33 — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_bpms_platform:7.13 Versions 7.13 — ·Red Hat
- cpe:/a:redhat:migration_toolkit_applications:6 Versions 6 — ·Red Hat
- cpe:/a:redhat:migration_toolkit_applications:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:service_registry:2 Versions 2 — ·Red Hat
- cpe:/a:redhat:quarkus:2 Versions 2 — ·Red Hat
- cpe:/a:redhat:quarkus:3 Versions 3 — ·Red Hat
Show 12 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/a:redhat:jboss_data_grid:8 | 8 | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_brms_platform:7 | 7 | — | Red Hat |
| cpe:/a:redhat:rhdh:1 | 1 | — | Red Hat |
| cpe:/a:redhat:jboss_fuse:7 | 7 | — | Red Hat |
| cpe:/a:redhat:jboss_data_grid:7 | 7 | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_application_platform:6 | 6 | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_application_platform:7 | 7 | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_application_platform:8 | 8 | — | Red Hat |
| cpe:/a:redhat:jbosseapxp | — | — | Red Hat |
| cpe:/a:redhat:openshift_gitops:1 | 1 | — | Red Hat |
| cpe:/a:redhat:jboss_bpms:7 | 7 | — | Red Hat |
| cpe:/a:redhat:red_hat_single_sign_on:7 | 7 | — | Red Hat |
- cpe:/a:redhat:jboss_data_grid:8 Versions 8 — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_brms_platform:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:rhdh:1 Versions 1 — ·Red Hat
- cpe:/a:redhat:jboss_fuse:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:jboss_data_grid:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_application_platform:6 Versions 6 — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_application_platform:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_application_platform:8 Versions 8 — ·Red Hat
- cpe:/a:redhat:jbosseapxp Versions — — ·Red Hat
- cpe:/a:redhat:openshift_gitops:1 Versions 1 — ·Red Hat
- cpe:/a:redhat:jboss_bpms:7 Versions 7 — ·Red Hat
- cpe:/a:redhat:red_hat_single_sign_on:7 Versions 7 — ·Red Hat
Remediation
- Fix · CNA keycloak Fixed in 22.0.10, 24.0.3
- Fix · GHSA-8rmm-gm28-pj8q org.keycloak:keycloak-services (Maven) Fixed in 22.0.10 Advisory →
- Fix · GHSA-8rmm-gm28-pj8q org.keycloak:keycloak-services (Maven) Fixed in 24.0.3 Advisory →
Red Hat 5 advisories
- RHSA-2024:4057 Released 2024-06-24 · Red Hat rating ImportantRelease of OpenShift Serverless Logic 1.33.0 security update & enhancements
- Red Hat OpenShift Serverless 1.33 openshift-serverless-1/logic-data-index-ephemeral-rhel8, openshift-serverless-1/logic-data-index-postgresql-rhel8, openshift-serverless-1/logic-jobs-service-ephemeral-rhel8 +6
- RHSA-2024:2945 Released 2024-05-21 · Red Hat rating ImportantRed Hat AMQ Broker 7.12.0 release and security update
- Red Hat AMQ Broker 7
- RHSA-2024:1867 Released 2024-04-16 · Red Hat rating ModerateRed Hat build of Keycloak 22.0.10 enhancement and security update
- Red Hat build of Keycloak 22 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Show 2 more Red Hat advisories
- RHSA-2024:1868 Released 2024-04-16 · Red Hat rating ImportantRed Hat build of Keycloak security update
- Red Hat build of Keycloak 22.0.10
- RHSA-2024:1353 Released 2024-03-18 · Red Hat rating ImportantRed Hat Process Automation Manager 7.13.5 security update
- RHPAM 7.13.5 async
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Migration Toolkit for Applications 6 | Affected | No fix planned: Will not fix |
| Red Hat Data Grid 8 | Affected | No fix planned: Will not fix |
| Red Hat Decision Manager 7 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Data Grid 7 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift GitOps | Affected | No fix planned: Will not fix |
| Red Hat Process Automation 7 | Affected | No fix yet: Fix deferred |
| Red Hat Single Sign-On 7 | Affected | No fix yet |
| Red Hat build of Apicurio Registry 2 | Affected | No fix yet |
| RHPAM 7.13.5 async | Fixed | RHSA-2024:1353 |
| Red Hat AMQ Broker 7 | Fixed | RHSA-2024:2945 |
| Red Hat OpenShift Serverless 1.33 | Fixed | RHSA-2024:4057 |
| Red Hat build of Keycloak 22 | Fixed | RHSA-2024:1867 |
| Red Hat build of Keycloak 22.0.10 | Fixed | RHSA-2024:1868 |
Not affected: 6 products
- Migration Toolkit for Applications 7
- Red Hat Developer Hub 1
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat build of Quarkus
Timeline
- 2026-10-02 Threatist record created from CVE-2023-6717
- 2026-10-03 Alias added: GHSA-8rmm-gm28-pj8q
- 2026-10-27 Affected versions changed · CNA
- 2026-10-27 Affected versions changed · Red Hat
References
Advisory 6
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2023-6717 · CVE Program
- CVE-2023-6717 · NVD
- FIRST EPSS
- GHSA-8rmm-gm28-pj8q · GitHub Advisory Database · CC BY 4.0
- CVE-2023-6717 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences