CVE-2023-6787

medium

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=2254375

https://access.redhat.com/security/cve/CVE-2023-6787

https://access.redhat.com/errata/RHSA-2024:1868

https://access.redhat.com/errata/RHSA-2024:1867

Details

Source: Mitre, NVD

Published: 2024-04-25

Updated: 2024-04-25

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 6.5

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

Severity: Medium