CVE-2023-6787

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-6787
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6787.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-6787
Aliases
Related
Published
2024-04-25T16:15:10Z
Modified
2025-07-01T00:18:21Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/keycloak/keycloak

Affected ranges

Type
GIT
Repo
https://github.com/keycloak/keycloak
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed