REDHAT-BUG-2312511: Medium severity Red Hat Keycloak vulnerability

Published Sep 16, 2024
·
Updated

It is possible to configure Keycloak in such a manner that any application with a 'Valid Redirect URI' set to http://localhost or http://127.0.0.1 can be redirected to an arbitrary URL of the attackers choosing. In the process sensitive information such as the authorization code can be exposed to the attacker, resulting in possible session hijacking.

Affected Software

1 affected component
Red Hat Keycloak

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Configure Keycloak client redirect URIs so that 'Valid Redirect URI' does not include http://localhost or http://127.0.0.1, to prevent redirecting to attacker-chosen arbitrary URLs (and potential session hijacking via exposed authorization codes).

    Keycloak Valid Redirect URI (client redirect URIs) = Do not allow http://localhost and http://127.0.0.1

Event History

Sep 16, 2024
Data Sourced
via Red Hat·06:28 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2312511?

The severity of REDHAT-BUG-2312511 is considered high due to its potential for arbitrary URL redirection.

2

How do I fix REDHAT-BUG-2312511?

To fix REDHAT-BUG-2312511, ensure that the 'Valid Redirect URI' settings do not include localhost or 127.0.0.1 in any applications.

3

What applications are affected by REDHAT-BUG-2312511?

REDHAT-BUG-2312511 affects configurations in Red Hat Build of Keycloak.

4

What kind of attack is possible due to REDHAT-BUG-2312511?

REDHAT-BUG-2312511 allows attackers to redirect users to arbitrary URLs, potentially leading to phishing attacks.

5

Is there a CVE associated with REDHAT-BUG-2312511?

Currently, there is no specific CVE associated with REDHAT-BUG-2312511.

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