CVE-2023-6787
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.74%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 0.74% probability · 53th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-287
- Affected
- redhat/build of keycloak · redhat/keycloak
- Source
- secalert@redhat.com
References
- https://access.redhat.com/errata/RHSA-2024:1867Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1868Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-6787Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2254375Issue Tracking, Vendor Advisory
- https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wjVendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1867Vendor Advisory
- https://access.redhat.com/errata/RHSA-2024:1868Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-6787Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2254375Issue Tracking, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.