CVE-2023-6134: Keycloak: reflected xss via wildcard in oidc redirect_uri

Published Nov 14, 2023
·
Updated

A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.

Other sources

Keycloak prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This could permit an attacker to submit a specially crafted request leading to XSS or possibly further attacks.

Affected Software

17 affected componentsFixes available
maven/org.keycloak:keycloak-services<23.0.3
23.0.3
redhat Single Sign-on<7.6.6
redhat keycloak<22.0.7
All of the following
redhat Single Sign-on<7.6
Any of the following
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
All of the following
Any of the following
redhat OpenShift Container Platform=4.11
redhat OpenShift Container Platform=4.12
redhat Enterprise Linux=8.0
All of the following
Any of the following
redhat Openshift Container Platform For Power=4.9
redhat Openshift Container Platform For Power=4.10
redhat Enterprise Linux=8.0
All of the following
Any of the following
redhat Openshift Container Platform Ibm Z Systems=4.9
redhat Openshift Container Platform Ibm Z Systems=4.10
redhat Enterprise Linux=8.0
redhat Single Sign-on

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.keycloak:keycloak-services to a version that resolves this vulnerability.

    Fixed in 23.0.3

Event History

Nov 14, 2023
Data Sourced
via Red Hat·06:51 PM
DescriptionSeverityAffected Software
Dec 14, 2023
CVE Published
via MITRE·09:42 PM
Data Sourced
via MITRE·09:42 PM
DescriptionSeverityWeakness
Dec 18, 2023
Advisory Published
07:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-6134?

CVE-2023-6134 has been classified as a high-severity vulnerability due to its potential for cross-site scripting (XSS) attacks.

2

How do I fix CVE-2023-6134?

To fix CVE-2023-6134, upgrade Keycloak to version 23.0.3 or later, or update Red Hat Single Sign-On and Red Hat Keycloak to their respective patched versions.

3

Which software versions are affected by CVE-2023-6134?

CVE-2023-6134 affects Keycloak versions prior to 23.0.3, Red Hat Single Sign-On versions prior to 7.6.6, and Red Hat Keycloak versions prior to 22.0.7.

4

Can CVE-2023-6134 lead to other vulnerabilities?

Yes, CVE-2023-6134 can allow an attacker to exploit it for further attacks, including cross-site scripting (XSS).

5

What is the underlying issue of CVE-2023-6134?

The underlying issue of CVE-2023-6134 is a flaw in Keycloak that fails to properly validate redirect URIs with certain schemes when a wildcard is appended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203