Bug 1484111 (CVE-2017-12159) - CVE-2017-12159 keycloak: CSRF token fixation
Summary: CVE-2017-12159 keycloak: CSRF token fixation
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-12159
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1484091
TreeView+ depends on / blocked
 
Reported: 2017-08-22 17:35 UTC by Chess Hazlett
Modified: 2021-10-21 11:55 UTC (History)
16 users (show)

Fixed In Version: Keycloak 3.3.0.Final, Keycloak 3.4.0.Final
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2021-10-21 11:55:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2904 0 normal SHIPPED_LIVE Moderate: rh-sso7-keycloak security update 2017-10-17 23:53:00 UTC
Red Hat Product Errata RHSA-2017:2905 0 normal SHIPPED_LIVE Moderate: rh-sso7-keycloak security update 2017-10-17 23:53:19 UTC
Red Hat Product Errata RHSA-2017:2906 0 normal SHIPPED_LIVE Moderate: Red Hat Single Sign-On security update 2017-10-17 23:42:35 UTC

Description Chess Hazlett 2017-08-22 17:35:32 UTC
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.

Upstream issue:

https://issues.jboss.org/browse/KEYCLOAK-5234

Comment 2 Chess Hazlett 2017-10-17 16:18:03 UTC
Acknowledgments:

Name: Prapti Mittal

Comment 3 errata-xmlrpc 2017-10-17 19:42:50 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On

Via RHSA-2017:2906 https://access.redhat.com/errata/RHSA-2017:2906

Comment 4 errata-xmlrpc 2017-10-17 19:53:51 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.1 for RHEL 6

Via RHSA-2017:2904 https://access.redhat.com/errata/RHSA-2017:2904

Comment 5 errata-xmlrpc 2017-10-17 19:54:22 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.1 for RHEL 7

Via RHSA-2017:2905 https://access.redhat.com/errata/RHSA-2017:2905

Comment 6 Jason Shepherd 2018-01-10 03:49:32 UTC
In version 1.3.1 of keycloak, used by RHMAP, CSRF cookie wasn't added yet. Setting RHMAP as not affected.
https://github.com/keycloak/keycloak/blob/1.3.1.Final/services/src/main/java/org/keycloak/services/resources/WelcomeResource.java


Note You need to log in before you can comment on or make changes to this bug.