🛡️ CVE-2023-6787
🟡 CVSS 6.5 — Medium ✅ No Known Exploit CWE-287 NVD
6.5
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity MEDIUM
CVSS Score 6.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CWE CWE-287
Public Exploit ✅ No
Source NVD
Published 2024-04-25
Updated 2026-06-15
Modified 2025-06-30
Fix URL N/A

Affected Packages

Software From version Fixed in
build-of-keycloak
keycloak 23.0.0 24.0.3
org.keycloak:keycloak-services 23.0.0 24.0.3

Similar Threats

Vulnerability Monitoring

Stay informed about vulnerabilities in your stack

BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.