CVE-2023-6787 – org.keycloak:keycloak-services
Package
Manager: maven
Name: org.keycloak:keycloak-services
Vulnerable Version: >=0 <22.0.10 || >=23.0.0 <24.0.3
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00423 pctl0.61318
Details
Keycloak vulnerable to session hijacking via re-authentication A flaw was found in Keycloak. An active keycloak session can be hijacked by initiating a new authentication (having the query parameter prompt=login) and forcing the user to enter his credentials once again. If the user cancels this re-authentication by clicking Restart login, the account takeover could take place as the new session, with a different SUB, will have the same SID as the previous session.
Metadata
Created: 2024-04-17T18:25:29Z
Modified: 2025-03-14T20:25:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-c9h6-v78w-52wj/GHSA-c9h6-v78w-52wj.json
CWE IDs: ["CWE-287", "CWE-384", "CWE-613"]
Alternative ID: GHSA-c9h6-v78w-52wj
Finding: F280
Auto approve: 1