On this page
Atomicorp WAF Research Note: CVE-2023-6717
Keycloak: xss via assertion consumer service url in saml post-binding flow
CVE Details
- Already protected by existing Atomicorp WAF rules
- Protection status: Understanding Atomicorp WAF Protection Status
- CVE: CVE-2023-6717
- Name: Keycloak: xss via assertion consumer service url in saml post-binding flow
- Severity: Medium
- CVSS: 6.0 (v3.1) (Medium)
- CVSS version: 3.1
- CVSS source: redhat CNA
- CVSS vector:
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L- Attack vector: Network
- Attack complexity: High
- Privileges required: High
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- CWE: CWE-79 — Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)
- Related CAPEC attack patterns (via MITRE CWE relationships): CAPEC-209 (opens in a new tab) , CAPEC-588 (opens in a new tab) , CAPEC-591 (opens in a new tab) , CAPEC-592 (opens in a new tab) , CAPEC-63 (opens in a new tab) , CAPEC-85 (opens in a new tab)
- Vendor: Red Hat
- Vulnerable products: Red Hat AMQ Broker 7 , Red Hat build of Keycloak 22 , Red Hat build of Keycloak 22.0.10 , RHOSS-1.33-RHEL-8 , RHPAM 7.13.5 async , Migration Toolkit for Applications 6 , Migration Toolkit for Applications 7 , Red Hat build of Apicurio Registry 2 , Red Hat build of Quarkus , Red Hat Data Grid 8 , Red Hat Decision Manager 7 , Red Hat Developer Hub , Red Hat Fuse 7 , Red Hat JBoss Data Grid 7 , Red Hat JBoss Enterprise Application Platform 6 , Red Hat JBoss Enterprise Application Platform 7 , Red Hat JBoss Enterprise Application Platform 8 , Red Hat JBoss Enterprise Application Platform Expansion Pack , Red Hat OpenShift GitOps , Red Hat Process Automation 7 , Red Hat Single Sign-On 7
- CVE published: 2024-04-25
- CVE last modified: 2026-09-11
- EPSS: 0.0071; 51.5th percentile (FIRST (opens in a new tab) )
- Latest Update: 2026-09-06
- Selected Rule IDs observed: 333140 , 333141 , 340087 , 340095 , 340099 , 340147 , 340148 , 341099 , 341256 , 341266 , 342259 , 346755 , 350147 , 350148
- Matching rules: 14; rules with blocking actions: 14
- Would-block Rule IDs: 333140 , 333141 , 340087 , 340095 , 340099 , 340147 , 340148 , 341099 , 341256 , 341266 , 342259 , 346755 , 350147 , 350148
- Request surfaces inspected: JSON request data, Request URI, Request argument names, Request arguments, Request cookies, Request filename, Request headers, SOAP request data, XML request data
Vulnerability 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.
Recommended Actions
Maintain the observed Atomicorp protections. Keep your Atomicorp commercial rules current and confirm that the selected observed rules (333140 , 333141 , 340087 , 340095 , 340099 , 340147 , 340148 , 341099 , 341256 , 341266 , 342259 , 346755 , 350147 , 350148 ) have not been locally disabled. Atomicorp commercial rules are enabled by default. If you use Atomic WAF, review the applicable policy and rule settings.
Apply the vendor’s remediation. WAF protection is defense in depth and does not replace upgrading or following the affected vendor’s guidance.
- Affected versions: Product versions earlier than 22.0.10.
- Affected versions: Product versions earlier than 24.0.3.
- Versions reported unaffected: Red Hat Red Hat build of Keycloak 22 version 22.0.10-1.
- Versions reported unaffected: Red Hat Red Hat build of Keycloak 22 version 22-13.
- Versions reported unaffected: Red Hat Red Hat build of Keycloak 22 version 22-16.
- Versions reported unaffected: Red Hat RHOSS-1.33-RHEL-8 version 1.33.0-5.
- Versions reported unaffected: Red Hat RHOSS-1.33-RHEL-8 version 1.33.0-3.
- Recommended upgrade: Upgrade Product to 22.0.10 or later.
- Recommended upgrade: Upgrade Product to 24.0.3 or later.
Validate after changes. Confirm rule updates are current, review WAF events for the affected application, and test application behavior after vendor upgrades, mitigations, or local policy changes.
Research Notes
Atomicorp WAF protections are designed around attack techniques and exploit behaviors, allowing existing protections to apply across multiple vulnerabilities without requiring a unique rule for every CVE.
Public Vulnerability References
- NVD (opens in a new tab)
- CVE Record (opens in a new tab)
- CVE authority reference: https://access.redhat.com/errata/RHSA-2024:1353 (opens in a new tab)
- CVE authority reference: https://access.redhat.com/errata/RHSA-2024:1867 (opens in a new tab)
- CVE authority reference: https://access.redhat.com/errata/RHSA-2024:1868 (opens in a new tab)
- CVE authority reference: https://access.redhat.com/errata/RHSA-2024:2945 (opens in a new tab)
- CVE authority reference: https://access.redhat.com/errata/RHSA-2024:4057 (opens in a new tab)
- CVE authority reference: https://access.redhat.com/security/cve/CVE-2023-6717 (opens in a new tab)
- CVE authority reference: https://bugzilla.redhat.com/show_bug.cgi?id=2253952 (opens in a new tab)
Test or Research Source
- Source: Atomicorp AI Research Framework
- Tags: cve, derived, waf-probe, xss
Research Note Context
This research note documents exploit-technique analysis associated with this vulnerability and references Atomicorp WAF protections observed during engineering review, testing, or validation activities.
Atomicorp security controls are generally designed to identify and mitigate attack techniques and exploit behaviors rather than individual CVE identifiers. As a result, protections developed for one vulnerability may also apply to related attack variants and future vulnerabilities using similar techniques.
Learn More
Atomicorp develops commercially supported security technologies for web applications, servers, endpoints, workloads, and legacy enterprise platforms.
Organizations interested in protecting systems against exploit techniques associated with vulnerabilities such as this one can learn more about:
- Atomic ModSecurity Rules: commercially maintained WAF rules for ModSecurity deployments, including protections for web attacks, bots, scanners, malware, exploitation attempts, and emerging vulnerability classes.
- Atomic WAF: an enterprise web application firewall with Atomicorp rules, centralized management, reporting, authentication controls, and operational tooling.
- Atomic ModSecurity Integrator: a special licensing option for MSPs, MSSPs, OEMs, VARs, reverse proxy providers, and other integrators who want to incorporate Atomicorp ModSecurity rule technology into their own products or services.
- Atomic OSSEC: an enterprise OSSEC-based intrusion detection, compliance, and security monitoring platform.
- Atomic Protector: workload protection for Linux, web, cloud, data center, and hybrid environments.
For additional information, product evaluations, or technical discussions, visit https://www.atomicorp.com/ or https://modsecurity.io/ (opens in a new tab) .