CVE-2023-6927: Keycloak: open redirect via "form_post.jwt" jarm response mode

Published Dec 18, 2023
·
Updated

Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-9vm7-v8wj-3fqw. This link is maintained to preserve external references.

Original Description A flaw was found in Keycloak. This issue may allow an attacker to steal authorization codes or tokens from clients using a wildcard in the JARM response mode "formpost.jwt" which could be used to bypass the security patch implemented to address CVE-2023-6134.

Other sources

An attacker can steal authorization codes or tokens from clients using a wildcard in the JARM response mode "formpost.jwt". It is observed that changing the responsemode parameter in the original proof of concept from "formpost" to "formpost.jwt" can bypass the security patch implemented to address CVE-2023-6134.

Red Hat

Affected Software

5 affected componentsFixes available
redhat/keycloak<23.0.4
23.0.4
maven/org.keycloak:keycloak-parent<=23.0.3
maven/org.keycloak:keycloak-core<23.0.4
23.0.4
redhat keycloak
redhat Single Sign-on=7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 23.0.4
  2. Upgrade

    Upgrade redhat/keycloak to a version that resolves this vulnerability.

    Fixed in 23.0.4

Event History

Dec 18, 2023
Data Sourced
via Red Hat·03:53 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·10:59 PM
Data Sourced
via MITRE·10:59 PM
DescriptionSeverityWeakness
Dec 19, 2023
Advisory Published
via GitHub·12:30 AM
Dec 23, 2024
Withdrawn
via GitHub·04:39 PM

Frequently Asked Questions

1

What is the severity of CVE-2023-6927?

CVE-2023-6927 has been classified as a high severity vulnerability.

2

How do I fix CVE-2023-6927?

To fix CVE-2023-6927, you should upgrade Keycloak to version 23.0.4 or later.

3

Which versions of Keycloak are affected by CVE-2023-6927?

Keycloak versions prior to 23.0.4, including 23.0.3 and earlier versions, are affected by CVE-2023-6927.

4

What type of vulnerability is CVE-2023-6927?

CVE-2023-6927 is a vulnerability that may allow an attacker to steal authorization codes or tokens.

5

Is there a patch available for CVE-2023-6927?

Yes, a patch is available in Keycloak version 23.0.4 to address CVE-2023-6927.

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