- 发布:
- 2017-10-17
- 已更新:
- 2017-10-17
RHSA-2017:2904 - Security Advisory
概述
Moderate: rh-sso7-keycloak security update
类型/严重性
Security Advisory: Moderate
Red Hat Insights 补丁分析
识别并修复受此公告影响的系统。
标题
An update for rh-sso7-keycloak is now available for Red Hat Single Sign-On 7.1 for RHEL 6.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
描述
Red Hat Single Sign-On is a standalone server, based on the Keycloak project, that provides authentication and standards-based single sign-on capabilities for web and mobile applications.
This release of Red Hat Single Sign-On 7.1.3 serves as a replacement for Red Hat Single Sign-On 7.1.2, and includes several bug fixes and enhancements. For further information, refer to the Release Notes linked to in the References section.
Security Fix(es):
- It was found that keycloak would accept a HOST header URL in the admin console and use it to determine web resource locations. An attacker could use this flaw against an authenticated user to attain reflected XSS via a malicious server. (CVE-2017-12158)
- 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. (CVE-2017-12159)
- It was found that libpam4j did not properly validate user accounts when authenticating. A user with a valid password for a disabled account would be able to bypass security restrictions and possibly access sensitive information. (CVE-2017-12197)
- It was found that Keycloak oauth would permit an authenticated resource to obtain an access/refresh token pair from the authentication server, permitting indefinite usage in the case of permission revocation. An attacker on an already compromised resource could use this flaw to grant himself continued permissions and possibly conduct further attacks. (CVE-2017-12160)
Red Hat would like to thank Mykhailo Stadnyk (Playtech) for reporting CVE-2017-12158; Prapti Mittal for reporting CVE-2017-12159; and Bart Toersche (Simacan) for reporting CVE-2017-12160. The CVE-2017-12197 issue was discovered by Christian Heimes (Red Hat).
解决方案
For details on how to apply this update, which includes the changes described in this advisory, refer to:
受影响的产品
- Red Hat Single Sign-On 7.2 for RHEL 6 x86_64
- Red Hat Single Sign-On 7.1 for RHEL 6 x86_64
修复
- BZ - 1484111 - CVE-2017-12159 keycloak: CSRF token fixation
- BZ - 1484154 - CVE-2017-12160 keycloak: resource privilege extension via access token in oauth
- BZ - 1489161 - CVE-2017-12158 keycloak: reflected XSS using HOST header
- BZ - 1503103 - CVE-2017-12197 libpam4j: Account check bypass
Red Hat Single Sign-On 7.2 for RHEL 6
| SRPM | |
|---|---|
| rh-sso7-keycloak-2.5.14-1.Final_redhat_1.1.jbcs.el6.src.rpm | SHA-256: 9116a825902a5876ae4765fb098023f0d00666c81ede5d65e80e3fd053a7706a |
| x86_64 | |
| rh-sso7-keycloak-2.5.14-1.Final_redhat_1.1.jbcs.el6.noarch.rpm | SHA-256: 2cf5afe313866c4e67cfd44264536ba4d3b4fbc7dc23e9e33c2c8987bb06cf67 |
| rh-sso7-keycloak-server-2.5.14-1.Final_redhat_1.1.jbcs.el6.noarch.rpm | SHA-256: 2997c11f9efbb46ceae5ec35ed3124b4b307fab8eb633341f855d1b256a7e1ca |
Red Hat Single Sign-On 7.1 for RHEL 6
| SRPM | |
|---|---|
| rh-sso7-keycloak-2.5.14-1.Final_redhat_1.1.jbcs.el6.src.rpm | SHA-256: 9116a825902a5876ae4765fb098023f0d00666c81ede5d65e80e3fd053a7706a |
| x86_64 | |
| rh-sso7-keycloak-2.5.14-1.Final_redhat_1.1.jbcs.el6.noarch.rpm | SHA-256: 2cf5afe313866c4e67cfd44264536ba4d3b4fbc7dc23e9e33c2c8987bb06cf67 |
| rh-sso7-keycloak-server-2.5.14-1.Final_redhat_1.1.jbcs.el6.noarch.rpm | SHA-256: 2997c11f9efbb46ceae5ec35ed3124b4b307fab8eb633341f855d1b256a7e1ca |
Red Hat 安全团队联络方式为 secalert@redhat.com。 更多联络细节请参考 https://access.redhat.com/security/team/contact/。