CVE-2024-5203: Keycloak: login csrf

Published May 22, 2024
·
Updated

A CSRF flaw was found in Keycloak. This issue occurs due to the lack of a unique token sent during the authentication POST request, /login-actions/authenticate. An attacker could craft a malicious login page and trick a legitimate user of an application into authenticating with an attacker controlled account instead of their own.

Other sources

Rejected reason: After careful review of CVE-2024-5203, it has been determined that the issue is not exploitable in real-world scenarios. Moreover, the exploit assumes that the attacker has access to a session code parameter that matches a cookie on the Keycloak server. However the attacker does not have access to the cookie, and can therefore not craft a malicious request.

NVD

Affected Software

1 affected component
Red Hat Keycloak

Event History

May 22, 2024
Data Sourced
via Red Hat·03:08 PM
DescriptionSeverityAffected Software
Jun 12, 2024
CVE Published
via MITRE·08:51 AM
Rejected
via MITRE·08:51 AM
Data Sourced
via NVD·09:15 AM
Description
Sep 13, 2024
Rejected
via MITRE·10:15 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-5203?

The severity of CVE-2024-5203 is classified as medium due to its potential impact on user authentication.

2

How do I fix CVE-2024-5203?

To fix CVE-2024-5203, ensure that your Keycloak deployment uses the latest security patches and updates that address this CSRF vulnerability.

3

What software is affected by CVE-2024-5203?

CVE-2024-5203 affects the Red Hat Build of Keycloak.

4

Can CVE-2024-5203 allow attackers to compromise user accounts?

Yes, CVE-2024-5203 can allow attackers to compromise user accounts through a CSRF exploit.

5

Is there a workaround for CVE-2024-5203 until it is patched?

A potential workaround for CVE-2024-5203 involves implementing additional CSRF protections in your application until an official patch is applied.

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