> CVE-2023-6787 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2024-04-25 16:15
MODIFIED
2025-06-30 13:49
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
0.74%
Top 45.7%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-10

> 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_PRODUCTS

Red Hat - Keycloak
< 22.0.10
Red Hat - Keycloak
>= 23.0.0 < 24.0.3

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-c9h6-v78w-52wj MODERATE

Keycloak vulnerable to session hijacking via re-authentication

AFFECTED PACKAGES:
MAVEN / org.keycloak:keycloak-services
>= 23.0.0, < 24.0.3
Fixed in: 24.0.3
MAVEN / org.keycloak:keycloak-services
< 22.0.10
Fixed in: 22.0.10

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/04/2024 16:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:46
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME