| Advisory ID | github_osv/GHSA-c9h6-v78w-52wj |
| Aliases |
CVE-2023-6787
|
| 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 | 5.9 |
| Risk | 3.0 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| CWE-287 | Improper Authentication |
| CWE-384 | Session Fixation |
| CWE-613 | Insufficient Session Expiration |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 6.5 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-c9h6-v78w-52wj/GHSA-c9h6-v78w-52wj.json |
| generic_textual | MODERATE |
| Reference id | Reference type | URL |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2254375 | ||
| https://github.com/keycloak/keycloak | ||
| CVE-2023-6787 | https://access.redhat.com/security/cve/CVE-2023-6787 | |
| CVE-2023-6787 | https://nvd.nist.gov/vuln/detail/CVE-2023-6787 | |
| GHSA-c9h6-v78w-52wj | https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj | |
| RHSA-2024:1867 | https://access.redhat.com/errata/RHSA-2024:1867 | |
| RHSA-2024:1868 | https://access.redhat.com/errata/RHSA-2024:1868 |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| 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/
Decision: Track
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2023/6xxx/CVE-2023-6787.json
Source Advisory: vulnrichment/CVE-2023-6787
[{'Exploitation': 'none'},
{'Automatable': 'no'},
{'Technical Impact': 'partial'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]