CVE-2023-6787
Last modified
CVE-2023-6787 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter "prompt=login," prompting the user to re-enter their credentials. EPSS estimates a 0.74% chance of exploitation in the next 30 days.
Description
A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter "prompt=login," prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting "Restart login," an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Build Of Keycloak | All versions |
| Redhat | Keycloak | < 22.0.10 |
| Redhat | Keycloak | >= 23.0.0, < 24.0.3 |
References
- https://access.redhat.com/errata/RHSA-2024:1867Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1868Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-6787Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2254375Issue Tracking, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1867Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1868Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-6787Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2254375Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-6787?
How severe is CVE-2023-6787?
How do I fix CVE-2023-6787?
Are you affected by CVE-2023-6787?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
