CVE-2023-6717
Keycloak: xss via assertion consumer service url in saml post-binding flow
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
keycloak
https://github.com/keycloak/keycloak |
≥ 0; < 22.0.10 (affected, maven) ≥ 24.0.0; < 24.0.3 (affected, maven) Other versions: unaffected |
CNA: redhat |
| Red Hat AMQ Broker 7 Red Hat keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat build of Keycloak 22 Red Hat rhbk/keycloak-operator-bundle
https://catalog.redhat.com/software/containers/ |
≥ 22.0.10-1; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat build of Keycloak 22 Red Hat rhbk/keycloak-rhel9
https://catalog.redhat.com/software/containers/ |
≥ 22-13; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat build of Keycloak 22 Red Hat rhbk/keycloak-rhel9-operator
https://catalog.redhat.com/software/containers/ |
≥ 22-16; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat build of Keycloak 22.0.10 Red Hat keycloak
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| RHOSS-1.33-RHEL-8 Red Hat openshift-serverless-1/logic-data-index-ephemeral-rhel8
https://catalog.redhat.com/software/containers/ |
≥ 1.33.0-5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| RHOSS-1.33-RHEL-8 Red Hat openshift-serverless-1/logic-data-index-postgresql-rhel8
https://catalog.redhat.com/software/containers/ |
≥ 1.33.0-5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| RHOSS-1.33-RHEL-8 Red Hat openshift-serverless-1/logic-jobs-service-ephemeral-rhel8
https://catalog.redhat.com/software/containers/ |
≥ 1.33.0-5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| RHOSS-1.33-RHEL-8 Red Hat openshift-serverless-1/logic-jobs-service-postgresql-rhel8
https://catalog.redhat.com/software/containers/ |
≥ 1.33.0-5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| RHOSS-1.33-RHEL-8 Red Hat openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8
https://catalog.redhat.com/software/containers/ |
≥ 1.33.0-5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| RHOSS-1.33-RHEL-8 Red Hat openshift-serverless-1/logic-operator-bundle
https://catalog.redhat.com/software/containers/ |
≥ 1.33.0-5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| RHOSS-1.33-RHEL-8 Red Hat openshift-serverless-1/logic-rhel8-operator
https://catalog.redhat.com/software/containers/ |
≥ 1.33.0-3; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| RHOSS-1.33-RHEL-8 Red Hat openshift-serverless-1/logic-swf-builder-rhel8
https://catalog.redhat.com/software/containers/ |
≥ 1.33.0-5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| RHOSS-1.33-RHEL-8 Red Hat openshift-serverless-1/logic-swf-devmode-rhel8
https://catalog.redhat.com/software/containers/ |
≥ 1.33.0-5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| RHPAM 7.13.5 async Red Hat https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Migration Toolkit for Applications 6 Red Hat mta/mta-ui-rhel9
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Migration Toolkit for Applications 7 Red Hat mta/mta-ui-rhel9
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat build of Apicurio Registry 2 Red Hat keycloak
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat build of Quarkus Red Hat keycloak-core
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Data Grid 8 Red Hat keycloak
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Decision Manager 7 Red Hat keycloak
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Developer Hub 1 Red Hat rhdh/rhdh-hub-rhel9
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Fuse 7 Red Hat keycloak
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat JBoss Data Grid 7 Red Hat keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat JBoss Enterprise Application Platform 6 Red Hat keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html |
Range not reported
Other versions: unknown |
CNA: redhat |
| Red Hat JBoss Enterprise Application Platform 6 Red Hat org.keycloak-keycloak-parent
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html |
Range not reported
Other versions: unknown |
CNA: redhat |
| Red Hat JBoss Enterprise Application Platform 6 Red Hat rh-sso7-keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html |
Range not reported
Other versions: unknown |
CNA: redhat |
| Red Hat JBoss Enterprise Application Platform 7 Red Hat keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat JBoss Enterprise Application Platform 8 Red Hat keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat JBoss Enterprise Application Platform Expansion Pack Red Hat keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat OpenShift GitOps Red Hat openshift-gitops-1/gitops-rhel8-operator
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Process Automation 7 Red Hat keycloak
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Single Sign-On 7 Red Hat rh-sso7-keycloak
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 6.0 medium |
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L | CNA: redhat |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2024:1353CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:1867CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:1868CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2945CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:4057CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-6717CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2253952CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:1867ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:1868ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:2945ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:4057ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/security/cve/CVE-2023-6717ADP: CVE · vdb-entry, x_refsource_REDHAT, x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2253952ADP: CVE · issue-tracking, x_refsource_REDHAT, x_transferred
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.