keycloak: CSRF token fixation
Published Oct 26, 2017
7.5
HIGHCVSS 3.0
EPSS 2.71%
Description
It was found that the cookie used for CSRF prevention in Keycloak was not unique to each session. An attacker could use this flaw to gain access to an authenticated user session, leading to possible information disclosure or further attacks.
Affected products
-
- Version 3.4.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat, Inc. | Keycloak | n/a |
|
Configuration 1
- 7.0
- 7.1
Running on/with
- 6.0
- 7.0
No data.
Red Hat Single Sign-On 7.1
n/a
Fixed · RHSA-2017:2906
Red Hat Single Sign-On 7.1 for RHEL 6
rh-sso7-keycloak-0:2.5.14-1.Final_redhat_1.1.jbcs.el6
Fixed · RHSA-2017:2904
Red Hat Single Sign-On 7.1 for RHEL 7
rh-sso7-keycloak-0:2.5.14-1.Final_redhat_1.1.jbcs.el7
Fixed · RHSA-2017:2905
Red Hat Mobile Application Platform 4
keycloak
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Single Sign-On 7.1 | n/a | Fixed | RHSA-2017:2906 |
| Red Hat Single Sign-On 7.1 for RHEL 6 | rh-sso7-keycloak-0:2.5.14-1.Final_redhat_1.1.jbcs.el6 | Fixed | RHSA-2017:2904 |
| Red Hat Single Sign-On 7.1 for RHEL 7 | rh-sso7-keycloak-0:2.5.14-1.Final_redhat_1.1.jbcs.el7 | Fixed | RHSA-2017:2905 |
| Red Hat Mobile Application Platform 4 | keycloak | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.71% (0.02711) | 85.47th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.40% (0.02405) | 81.85th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.32% (0.00322) | 70.93th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.32% (0.00322) | 69.84th | v3 (v2023.03.01) |
| May 8, 2023 | 0.32% (0.00322) | 66.15th | v3 (v2023.03.01) |
| Apr 28, 2023 | 0.48% (0.00476) | 72.11th | v3 (v2023.03.01) |
| Mar 19, 2023 | 0.56% (0.00560) | 74.23th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.60% (0.00603) | 75.20th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.25% (0.01247) | 30.57th | v1 |
| Jan 6, 2022 | 1.25% (0.01247) | 29.93th | v1 |
| Sep 1, 2021 | 1.25% (0.01247) | 68.62th | v1 |
| Apr 14, 2021 | 1.25% (0.01247) | 0.00th | v1 |
References (10)
- http://www.securityfocus.com/bid/101601 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:2904 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2905 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2906 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-12159 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1484111 x_refsource_CONFIRMIssue TrackingThird Party AdvisoryVDB Entry
- https://github.com/advisories/GHSA-7fmw-85qm-h22p Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-12159
- https://web.archive.org/web/20210124113906/http://www.securityfocus.com/bid/101601
- https://www.cve.org/CVERecord?id=CVE-2017-12159
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/101601 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2017:2904 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2017:2905 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2017:2906 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-12159 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1484111 | x_refsource_CONFIRMIssue TrackingThird Party AdvisoryVDB Entry | |
| https://github.com/advisories/GHSA-7fmw-85qm-h22p | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-12159 | ||
| https://web.archive.org/web/20210124113906/http://www.securityfocus.com/bid/101601 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-12159 |
Change history (0)
No recorded changes yet.