Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-6134

CVE-2023-6134: Redhat Single Sign-on XSS Vulnerability

CVE-2023-6134 is a cross-site scripting flaw in Redhat Single Sign-on that exploits wildcard redirect schemes. Attackers can craft requests to trigger XSS attacks. This article covers technical details, impact, and mitigation.

Published: January 28, 2026

CVE-2023-6134 Overview

A security flaw has been identified in Red Hat Keycloak, the popular open-source identity and access management solution. This vulnerability stems from an incomplete fix for a previous issue (CVE-2020-10748) where certain URI schemes are blocked in redirects, but the validation can be bypassed by appending a wildcard character to the token. This bypass allows attackers to craft malicious requests that lead to cross-site scripting (XSS) attacks or potentially enable further exploitation.

The vulnerability affects multiple Red Hat products that utilize Keycloak for authentication services, including Red Hat Single Sign-On, OpenShift Container Platform, and various Enterprise Linux deployments.

Critical Impact

Attackers can bypass redirect URI validation controls to execute cross-site scripting attacks, potentially stealing session tokens, credentials, or performing actions on behalf of authenticated users.

Affected Products

  • Red Hat Single Sign-On
  • Red Hat Keycloak
  • Red Hat Enterprise Linux 7.0, 8.0, 9.0
  • Red Hat OpenShift Container Platform 4.11, 4.12
  • Red Hat OpenShift Container Platform for Power 4.9, 4.10
  • Red Hat OpenShift Container Platform IBM Z Systems 4.9, 4.10

Discovery Timeline

  • December 14, 2023 - CVE-2023-6134 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-6134

Vulnerability Analysis

This vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) exists in the redirect URI validation logic within Keycloak. The authentication flow relies on redirect URIs to return users to their intended destination after successful authentication. To prevent abuse, Keycloak implements restrictions on certain URI schemes that could be used maliciously.

However, the validation implementation contains a flaw where appending a wildcard character to the token can bypass these scheme restrictions. This incomplete fix from CVE-2020-10748 means that attackers can still craft redirect URIs containing dangerous schemes that the security controls were designed to block.

When exploited, this allows injection of malicious scripts into the authentication flow, which execute in the context of the victim's browser session. This is particularly dangerous in identity management systems where session tokens and authentication credentials are handled.

Root Cause

The root cause is an incomplete security fix for CVE-2020-10748. The original patch implemented scheme restrictions for redirect URIs but failed to account for edge cases involving wildcard characters in tokens. The validation logic does not properly handle these wildcard-appended tokens, allowing previously blocked URI schemes to pass through validation.

This represents a classic case of insufficient input validation where the security control can be circumvented through unexpected input patterns that were not considered during the original remediation.

Attack Vector

The attack is network-based and requires user interaction. An attacker must craft a specially formatted redirect URI that includes a blocked scheme with a wildcard appended to bypass validation. The attack flow involves:

  1. The attacker creates a malicious authentication request with a crafted redirect URI containing the bypass pattern
  2. The victim is tricked into clicking the malicious link or visiting a page that initiates the authentication flow
  3. Keycloak's validation incorrectly allows the malicious redirect URI due to the wildcard bypass
  4. After authentication, the victim is redirected to the attacker-controlled destination where malicious scripts execute
  5. The XSS payload can steal session cookies, authentication tokens, or perform actions as the authenticated user

The vulnerability requires low privileges (authenticated user context) but can have significant impact through the cross-site scripting attack, potentially compromising confidentiality and integrity of user sessions across the affected identity management infrastructure.

Detection Methods for CVE-2023-6134

Indicators of Compromise

  • Unusual redirect URIs in Keycloak authentication logs containing wildcard patterns or unexpected scheme prefixes
  • Authentication requests with abnormally long or complex redirect_uri parameters
  • Client-side script execution errors in browser logs related to Keycloak authentication flows
  • Unexpected external domain references in authentication redirect chains

Detection Strategies

  • Monitor Keycloak access logs for redirect URI parameters containing suspicious patterns, particularly those with wildcard characters (*) adjacent to URI scheme identifiers
  • Implement web application firewall (WAF) rules to detect and block malformed redirect URI patterns in authentication requests
  • Enable detailed logging for OAuth/OIDC authentication flows to capture full redirect URI values for forensic analysis
  • Deploy endpoint detection solutions to identify XSS payloads executing in browser contexts during authentication workflows

Monitoring Recommendations

  • Configure alerts for authentication requests with redirect URIs that deviate from expected application patterns
  • Implement continuous monitoring of Keycloak audit logs for anomalous authentication flow behaviors
  • Establish baseline metrics for normal redirect URI patterns and alert on statistical outliers
  • Review client application configurations to ensure redirect URI allowlists are strictly defined

How to Mitigate CVE-2023-6134

Immediate Actions Required

  • Apply the latest security patches from Red Hat for all affected Keycloak and Single Sign-On deployments
  • Review and restrict redirect URI configurations for all registered OAuth/OIDC clients to use exact matches rather than wildcards where possible
  • Implement additional input validation at the application layer for redirect URI parameters
  • Enable Content Security Policy (CSP) headers to mitigate the impact of any successful XSS exploitation

Patch Information

Red Hat has released multiple security advisories addressing this vulnerability across different product versions:

  • RHSA-2023:7854 - Red Hat Single Sign-On security update
  • RHSA-2023:7855 - Red Hat Single Sign-On security update
  • RHSA-2023:7856 - Red Hat Single Sign-On security update
  • RHSA-2023:7857 - Red Hat Single Sign-On security update
  • RHSA-2023:7858 - Red Hat Single Sign-On security update
  • RHSA-2024:0798 - Additional security update
  • RHSA-2024:0799 - Additional security update

For detailed patch instructions, consult the Red Hat CVE-2023-6134 Details page and Bug Report #2249673.

Workarounds

  • Restrict redirect URI configurations to use exact matches instead of wildcard patterns for all registered clients
  • Implement a reverse proxy or WAF rule to filter redirect URI parameters containing wildcard characters in combination with scheme identifiers
  • Limit authentication to trusted network segments while patches are being applied
  • Enable strict Content Security Policy headers to reduce the impact of successful XSS attacks
bash
# Example Keycloak client configuration to restrict redirect URIs
# Update client configuration to use exact redirect URIs instead of wildcards
# In keycloak-cli or Admin Console, modify client settings:

# Avoid wildcard patterns like:
# https://example.com/*

# Use exact redirect URIs:
# https://example.com/callback
# https://example.com/auth/callback

# For containerized deployments, ensure updated images are deployed:
podman pull registry.redhat.io/rh-sso-7/sso76-openshift-rhel8:latest
# or
docker pull registry.redhat.io/rh-sso-7/sso76-openshift-rhel8:latest

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechRedhat Single Sign On

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability1.90%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Red Hat Security Advisory RHSA-2024:0798

  • Red Hat Security Advisory RHSA-2024:0799

  • Red Hat Security Advisory RHSA-2024:0800

  • Red Hat Security Advisory RHSA-2024:0801

  • Red Hat Security Advisory RHSA-2024:0804

  • Red Hat Bug Report #2249673
  • Vendor Resources
  • Red Hat Security Advisory RHSA-2023:7854

  • Red Hat Security Advisory RHSA-2023:7855

  • Red Hat Security Advisory RHSA-2023:7856

  • Red Hat Security Advisory RHSA-2023:7857

  • Red Hat Security Advisory RHSA-2023:7858

  • Red Hat Security Advisory RHSA-2023:7860

  • Red Hat Security Advisory RHSA-2023:7861

  • Red Hat CVE-2023-6134 Details
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English