CVEvulnerability
CVE-2023-6787
8.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-04-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-287
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.
Affected configurations
• redhat build of keycloak
• redhat keycloak (< 22.0.10)
• redhat keycloak (>= 23.0.0 < 24.0.3)
Related
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://access.redhat.com/errata/RHSA-2024:1867 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1868 Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-6787 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2254375 Issue Tracking, Vendor Advisory
- https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1867 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1868 Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-6787 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2254375 Issue Tracking, Vendor Advisory