CVE-2023-6717

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

MEDIUM 6.0

At a glance

Source
NVD
EPSS
EPSS 0.71 % · percentile 53 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-79 — Cross-site Scripting (XSS)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:Lredhat
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:LNVD · secalert@redhat.com (Secondary)

Advisories

European references

Affected products

ProductVersions
keycloakaffected 0 < 22.0.10 ; affected 24.0.0 < 24.0.3
Red Hat · Red Hat AMQ Broker 7
Red Hat · Red Hat build of Keycloak 22unaffected 22.0.10-1 < *
Red Hat · Red Hat build of Keycloak 22unaffected 22-13 < *
Red Hat · Red Hat build of Keycloak 22unaffected 22-16 < *
Red Hat · Red Hat build of Keycloak 22.0.10
Red Hat · RHOSS-1.33-RHEL-8unaffected 1.33.0-5 < *
Red Hat · RHOSS-1.33-RHEL-8unaffected 1.33.0-5 < *
Red Hat · RHOSS-1.33-RHEL-8unaffected 1.33.0-5 < *
Red Hat · RHOSS-1.33-RHEL-8unaffected 1.33.0-5 < *
Red Hat · RHOSS-1.33-RHEL-8unaffected 1.33.0-5 < *
Red Hat · RHOSS-1.33-RHEL-8unaffected 1.33.0-5 < *
Red Hat · RHOSS-1.33-RHEL-8unaffected 1.33.0-3 < *
Red Hat · RHOSS-1.33-RHEL-8unaffected 1.33.0-5 < *
Red Hat · RHOSS-1.33-RHEL-8unaffected 1.33.0-5 < *
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

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD