CVE-2023-6291
High
Description
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.
SeverityHigh
CVSS7.1
Exploit probability—
Product
Redhat Keycloak
PublishedJan 26, 2024
First seenJan 26, 2024
Weakness typeCWE-601Open redirect
How to fix
Update
- redhat keycloak22.0.7 or later
- org.keycloak:keycloak-services23.0.3 or later
Vendor advisories
- access.redhat.com/errata/RHSA-2023:7854
- access.redhat.com/errata/RHSA-2023:7855
- access.redhat.com/errata/RHSA-2023:7856
- access.redhat.com/errata/RHSA-2023:7857
- access.redhat.com/errata/RHSA-2023:7858
- access.redhat.com/errata/RHSA-2023:7860
- access.redhat.com/errata/RHSA-2023:7861
- access.redhat.com/security/cve/CVE-2023-6291
- bugzilla.redhat.com/show_bug.cgi?id=2251407
- access.redhat.com/errata/RHSA-2024:0798
- access.redhat.com/errata/RHSA-2024:0799
- access.redhat.com/errata/RHSA-2024:0800
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat keycloak | v < 22.0.7 | 22.0.7 |
| redhat single_sign-on | No range specified, 7.6 | — |
| redhat openshift_container_platform | 4.11, 4.12 | — |
| redhat openshift_container_platform_for_ibm_z | 4.9, 4.10 | — |
| redhat openshift_container_platform_for_linuxone | 4.9, 4.10 | — |
| redhat openshift_container_platform_for_power | 4.9, 4.10 | — |
| redhat migration_toolkit_for_applications | 6.0, 7.0 | — |
| org.keycloak:keycloak-servicesMaven | v < 23.0.3 | 23.0.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.