An attacker can steal authorization codes or tokens from clients using a wildcard in the JARM response mode "form_post.jwt". It is observed that changing the response_mode parameter in the original proof of concept from "form_post" to "form_post.jwt" can bypass the security patch implemented to address CVE-2023-6134.
Red Hat would like to thankPontus Hanssen <Pontus.Hanssen> for reporting this issue.
*** Bug 2255024 has been marked as a duplicate of this bug. ***
This issue has been addressed in the following products: Red Hat Single Sign-On 7.6 for RHEL 9 Via RHSA-2024:0096 https://access.redhat.com/errata/RHSA-2024:0096
This issue has been addressed in the following products: Red Hat Single Sign-On 7.6 for RHEL 7 Via RHSA-2024:0094 https://access.redhat.com/errata/RHSA-2024:0094
This issue has been addressed in the following products: Red Hat Single Sign-On 7.6 for RHEL 8 Via RHSA-2024:0095 https://access.redhat.com/errata/RHSA-2024:0095
This issue has been addressed in the following products: Single Sign-On 7.6.6 Via RHSA-2024:0098 https://access.redhat.com/errata/RHSA-2024:0098
This issue has been addressed in the following products: Red Hat build of Keycloak 22.0.8 Via RHSA-2024:0101 https://access.redhat.com/errata/RHSA-2024:0101
This issue has been addressed in the following products: RHEL-8 based Middleware Containers Via RHSA-2024:0097 https://access.redhat.com/errata/RHSA-2024:0097
This issue has been addressed in the following products: Red Hat build of Keycloak 22 Via RHSA-2024:0100 https://access.redhat.com/errata/RHSA-2024:0100
This issue has been addressed in the following products: Red Hat Single Sign-On 7.6 for RHEL 8 Via RHSA-2024:0799 https://access.redhat.com/errata/RHSA-2024:0799
This issue has been addressed in the following products: Red Hat Single Sign-On 7.6 for RHEL 9 Via RHSA-2024:0800 https://access.redhat.com/errata/RHSA-2024:0800
This issue has been addressed in the following products: Red Hat Single Sign-On 7.6 for RHEL 7 Via RHSA-2024:0798 https://access.redhat.com/errata/RHSA-2024:0798
This issue has been addressed in the following products: RHEL-8 based Middleware Containers Via RHSA-2024:0801 https://access.redhat.com/errata/RHSA-2024:0801
This issue has been addressed in the following products: Red Hat Single Sign-On Via RHSA-2024:0804 https://access.redhat.com/errata/RHSA-2024:0804