Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Keycloak | < 22.0.7 |
| Redhat | Single Sign-On | - |
| Redhat | Openshift Container Platform | 4.11 |
| Redhat | Openshift Container Platform For Ibm Z | 4.9 |
| Redhat | Openshift Container Platform For Linuxone | 4.9 |
| Redhat | Openshift Container Platform For Power | 4.9 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Migration Toolkit For Applications | 6.0 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2023:7854Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7855Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7856Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7857Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7858Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7860Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7861Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:0798
- https://access.redhat.com/errata/RHSA-2024:0799
- https://access.redhat.com/errata/RHSA-2024:0800
- https://access.redhat.com/errata/RHSA-2024:0801
- https://access.redhat.com/errata/RHSA-2024:0804
- https://access.redhat.com/security/cve/CVE-2023-6291Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2251407Issue TrackingVendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7854Vendor Advisory
FAQ
What is CVE-2023-6291?
CVE-2023-6291 is a vulnerability with a CVSS score of 7.1 (HIGH). 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, ma...
How severe is CVE-2023-6291?
CVE-2023-6291 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-6291?
Check the references section above for vendor advisories and patch information. Affected products include: Redhat Keycloak, Redhat Single Sign-On, Redhat Openshift Container Platform, Redhat Openshift Container Platform For Ibm Z, Redhat Openshift Container Platform For Linuxone.