CVE-2023-6787
Keycloak vulnerable to session hijacking via re-authentication
6.5
MEDIUM
CVSS 3.1
EPSS 0.57%
Description
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.
How to fix CVE-2023-6787
To remediate CVE-2023-6787, upgrade the affected package to a fixed version below.
- —upgrade to 22.0.10 or later
Is CVE-2023-6787 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 22.0.10
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |