nday
CVE-2023-6787

Keycloak: session hijacking via re-authentication

Red Hat / Red Hat build of Keycloak 22, Red Hat build of Keycloak 22.0.10, Red Hat Single Sign-On 7

Fecha de divulgación: . nday aún no tiene constancia de una corrección; eso no significa que no exista parche. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

authentication bypass
CWE-287, stated by the CNA redhat, the ADP CISA-ADP, NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0 y NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N (CVSS 3.1) from the CNA redhat
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N (CVSS 3.1) from the CNA redhat
Keycloak
affected products in the CVE record: Red Hat · Red Hat Single Sign-On 7, Red Hat · Red Hat build of Keycloak 22, Red Hat · Red Hat build of Keycloak 22.0.10CPE names NVD's analysts give as vulnerable: a:redhat:build_of_keycloak, a:redhat:keycloak
identity / access management
affected products in the CVE record: Red Hat · Red Hat Single Sign-On 7, Red Hat · Red Hat build of Keycloak 22, Red Hat · Red Hat build of Keycloak 22.0.10CPE names NVD's analysts give as vulnerable: a:redhat:build_of_keycloak, a:redhat:keycloakthe product type of Keycloak in nday's product registry
etapa
DIS
divulgación
cvss
6.5 MEDIUM v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2024-04-25T16:02Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

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

CVSS 3.1 vector from the CVE record, scored by the CNA redhat.

Registro de eventos

+DISdivulgación

redhat publicó el registro CVE. CVSS 6.5, severidad media.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 286266,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2023-6787",
  "occurred_at": "2024-04-25T16:02:32.916Z",
  "observed_at": "2026-11-13T05:37:56.150622Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
      "version": "3.1",
      "base_score": 6.5,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2024-04-25T19:40:17.217959Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2024-04-25T16:02:32.916Z",
    "assigner_short_name": "redhat"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.