| Advisory ID | vulnrichment/CVE-2023-6787 |
| Aliases | |
| Summary | 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 0.0 |
| Risk | |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| CWE-287 | Improper Authentication |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 6.5 | |
| ssvc | Track |
| Reference id | Reference type | URL |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2254375 | ||
| cpe:/a:redhat:build_keycloak:22 | Other | https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:/a:redhat:build_keycloak:22 |
| cpe:/a:redhat:build_keycloak:22::el9 | Other | https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:/a:redhat:build_keycloak:22::el9 |
| cpe:/a:redhat:red_hat_single_sign_on:7 | Other | https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:/a:redhat:red_hat_single_sign_on:7 |
| CVE-2023-6787 | https://access.redhat.com/security/cve/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'}]