CVE-2023-6717

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

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.

Category

6.0
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.24%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com
Affected: Red Hat Red Hat AMQ Broker 7
Affected: Red Hat Red Hat build of Keycloak 22
Affected: Red Hat Red Hat build of Keycloak 22
Affected: Red Hat Red Hat build of Keycloak 22
Affected: Red Hat Red Hat build of Keycloak 22.0.10
Affected: Red Hat RHOSS-1.33-RHEL-8
Affected: Red Hat RHOSS-1.33-RHEL-8
Affected: Red Hat RHOSS-1.33-RHEL-8
Affected: Red Hat RHOSS-1.33-RHEL-8
Affected: Red Hat RHOSS-1.33-RHEL-8
Affected: Red Hat RHOSS-1.33-RHEL-8
Affected: Red Hat RHOSS-1.33-RHEL-8
Affected: Red Hat RHOSS-1.33-RHEL-8
Affected: Red Hat RHOSS-1.33-RHEL-8
Affected: Red Hat RHPAM 7.13.5 async
Affected: Red Hat Migration Toolkit for Applications 6
Affected: Red Hat Migration Toolkit for Applications 7
Affected: Red Hat Red Hat build of Apicurio Registry 2
Affected: Red Hat Red Hat build of Quarkus
Affected: Red Hat Red Hat Data Grid 8
Affected: Red Hat Red Hat Decision Manager 7
Affected: Red Hat Red Hat Developer Hub
Affected: Red Hat Red Hat Fuse 7
Affected: Red Hat Red Hat JBoss Data Grid 7
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 6
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 6
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 6
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 7
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
Affected: Red Hat Red Hat OpenShift GitOps
Affected: Red Hat Red Hat Process Automation 7
Affected: Red Hat Red Hat Single Sign-On 7
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-6717?
CVE-2023-6717 has been scored as a medium severity vulnerability.
How to fix CVE-2023-6717?
To fix CVE-2023-6717, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-6717 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-6717 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-6717?
CVE-2023-6717 affects Red Hat Red Hat AMQ Broker 7, Red Hat Red Hat build of Keycloak 22, Red Hat Red Hat build of Keycloak 22, 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 RHOSS-1.33-RHEL-8, Red Hat RHOSS-1.33-RHEL-8, Red Hat RHOSS-1.33-RHEL-8, Red Hat RHOSS-1.33-RHEL-8, Red Hat RHOSS-1.33-RHEL-8, Red Hat RHOSS-1.33-RHEL-8, Red Hat RHOSS-1.33-RHEL-8, 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, 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 6, 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.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.