CVE-2023-6787 Details
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 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 25, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2024:1867 | CVE | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2024:1868 | CVE | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2023-6787 | CVE | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2254375 | CVE | Issue TrackingVendor Advisory |
| https://access.redhat.com/errata/RHSA-2024:1867 | [email protected] | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2024:1868 | [email protected] | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2023-6787 | [email protected] | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2254375 | [email protected] | Issue TrackingVendor Advisory |
| https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-287 | Improper Authentication | CISA-ADP |
| CWE-287 | Improper Authentication | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat build of keycloak | All versions |
CPE
Remediation
| |
| redhat keycloak | < 22.0.10 >= 23.0.0, < 24.0.3 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 30, 2025 | Initial Analysis | [email protected] |
| Mar 14, 2025 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Jul 3, 2024 | CVE Modified | CISA-ADP |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 25, 2024 | New CVE Received | [email protected] |