CVE-2023-6291
High 7.1 CVSS 3.1
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.
Description as published by the source, in English.
Key facts
- Published
- 2024-01-26
- Last modified
- 2026-11-04
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
1.0 %
higher than 58 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Redhat | Enterprise Linux | 7.0 | Not affected |
| Redhat | Enterprise Linux | 8.0 | Not affected |
| Redhat | Enterprise Linux | 9.0 | Not affected |
| Redhat | Keycloak | < 22.0.7 | Affected |
| Redhat | Migration Toolkit For Applications | 6.0 | Affected |
| Redhat | Migration Toolkit For Applications | 7.0 | Affected |
| Redhat | Openshift Container Platform | 4.11 | Affected |
| Redhat | Openshift Container Platform | 4.12 | Affected |
| Redhat | Openshift Container Platform For Ibm Z | 4.10 | Affected |
| Redhat | Openshift Container Platform For Ibm Z | 4.9 | Affected |
| Redhat | Openshift Container Platform For Linuxone | 4.10 | Affected |
| Redhat | Openshift Container Platform For Linuxone | 4.9 | Affected |
| Redhat | Openshift Container Platform For Power | 4.10 | Affected |
| Redhat | Openshift Container Platform For Power | 4.9 | Affected |
| Redhat | Single Sign-on | all versions listed | Affected |
| Redhat | Single Sign-on | 7.6 | Affected |
Weakness type
-
CWE-601: URL Redirection to Untrusted Site
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
References
- https://access.redhat.com/errata/RHSA-2023:7854
- https://access.redhat.com/errata/RHSA-2023:7855
- https://access.redhat.com/errata/RHSA-2023:7856
- https://access.redhat.com/errata/RHSA-2023:7857
- https://access.redhat.com/errata/RHSA-2023:7858
- https://access.redhat.com/errata/RHSA-2023:7860
- https://access.redhat.com/errata/RHSA-2023:7861
- https://access.redhat.com/security/cve/CVE-2023-6291
- https://bugzilla.redhat.com/show_bug.cgi?id=2251407
- https://access.redhat.com/errata/RHSA-2023:7854
- https://access.redhat.com/errata/RHSA-2023:7855
- https://access.redhat.com/errata/RHSA-2023:7856
- https://access.redhat.com/errata/RHSA-2023:7857
- https://access.redhat.com/errata/RHSA-2023:7858
- https://access.redhat.com/errata/RHSA-2023:7860
- https://access.redhat.com/errata/RHSA-2023:7861
- https://access.redhat.com/security/cve/CVE-2023-6291
- https://bugzilla.redhat.com/show_bug.cgi?id=2251407
- https://access.redhat.com/errata/RHSA-2024:0798
- https://access.redhat.com/errata/RHSA-2024:0799
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.