7.1
CWE
20 601
Advisory Published
Advisory Published
CVE Published
Updated

CVE-2023-6291: Keycloak: redirect_uri validation bypass

First published: Fri Nov 24 2023(Updated: )

A flaw was found in the redirect_uri validation logic in Keycloak. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to an access token being stolen, making it possible for the attacker to impersonate other users.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
maven/org.keycloak:keycloak-services<23.0.3
23.0.3
Red Hat Keycloak<22.0.7
Red Hat Single Sign-On
All of
Any of
Red Hat OpenShift Container Platform=4.11
Red Hat OpenShift Container Platform=4.12
Red Hat OpenShift Container Platform=4.9
Red Hat OpenShift Container Platform=4.10
Red Hat OpenShift Container Platform=4.9
Red Hat OpenShift Container Platform=4.10
Red Hat OpenShift Container Platform for Power=4.9
Red Hat OpenShift Container Platform for Power=4.10
Red Hat Enterprise Linux=8.0
All of
Red Hat Single Sign-On=7.6
Any of
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
Red Hat Migration Toolkit for Applications=6.0
Red Hat Migration Toolkit for Applications=7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-6291?

    CVE-2023-6291 is classified as a medium severity vulnerability due to its potential to allow access token theft.

  • How can I fix CVE-2023-6291?

    To fix CVE-2023-6291, update Keycloak to version 23.0.3 or later.

  • What software is affected by CVE-2023-6291?

    CVE-2023-6291 affects Keycloak versions earlier than 23.0.3 and several Red Hat OpenShift Container Platform versions.

  • What type of attack can be executed using CVE-2023-6291?

    An attacker exploiting CVE-2023-6291 can perform access token theft, potentially leading to user impersonation.

  • Is there a workaround for CVE-2023-6291?

    Currently, the only effective mitigation for CVE-2023-6291 is to upgrade the affected software to the latest version.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203