Search for vulnerabilities
Vulnerability details: VCID-zjxg-8sgz-7ye4
Vulnerability ID VCID-zjxg-8sgz-7ye4
Aliases CVE-2023-6787
GHSA-c9h6-v78w-52wj
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 7.9
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (5)
System Score Found at
cvssv3.1 6.5 https://access.redhat.com/errata/RHSA-2024:1867
generic_textual MODERATE https://access.redhat.com/errata/RHSA-2024:1867
ssvc Track https://access.redhat.com/errata/RHSA-2024:1867
cvssv3.1 6.5 https://access.redhat.com/errata/RHSA-2024:1868
generic_textual MODERATE https://access.redhat.com/errata/RHSA-2024:1868
ssvc Track https://access.redhat.com/errata/RHSA-2024:1868
cvssv3 6.5 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-6787.json
cvssv3.1 6.5 https://access.redhat.com/security/cve/CVE-2023-6787
generic_textual MODERATE https://access.redhat.com/security/cve/CVE-2023-6787
ssvc Track https://access.redhat.com/security/cve/CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
epss 0.00423 https://api.first.org/data/v1/epss?cve=CVE-2023-6787
cvssv3.1 6.5 https://bugzilla.redhat.com/show_bug.cgi?id=2254375
generic_textual MODERATE https://bugzilla.redhat.com/show_bug.cgi?id=2254375
ssvc Track https://bugzilla.redhat.com/show_bug.cgi?id=2254375
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-c9h6-v78w-52wj
cvssv3.1 6.5 https://github.com/keycloak/keycloak
generic_textual MODERATE https://github.com/keycloak/keycloak
cvssv3.1 6.5 https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj
cvssv3.1_qr MODERATE https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj
generic_textual MODERATE https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj
ssvc Track https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj
cvssv3.1 6.5 https://nvd.nist.gov/vuln/detail/CVE-2023-6787
cvssv3.1 8.8 https://nvd.nist.gov/vuln/detail/CVE-2023-6787
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2023-6787
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Found at https://access.redhat.com/errata/RHSA-2024:1867
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-04-25T19:40:17Z/ Found at https://access.redhat.com/errata/RHSA-2024:1867
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Found at https://access.redhat.com/errata/RHSA-2024:1868
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-04-25T19:40:17Z/ Found at https://access.redhat.com/errata/RHSA-2024:1868
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-6787.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Found at https://access.redhat.com/security/cve/CVE-2023-6787
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-04-25T19:40:17Z/ Found at https://access.redhat.com/security/cve/CVE-2023-6787
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Found at https://bugzilla.redhat.com/show_bug.cgi?id=2254375
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-04-25T19:40:17Z/ Found at https://bugzilla.redhat.com/show_bug.cgi?id=2254375
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Found at https://github.com/keycloak/keycloak
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Found at https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-04-25T19:40:17Z/ Found at https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2023-6787
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2023-6787
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.61288
EPSS Score 0.00423
Published At Aug. 8, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:30:31.922643+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-c9h6-v78w-52wj/GHSA-c9h6-v78w-52wj.json 37.0.0