You are here
Home > Preporuke > Sigurnosni nedostaci programskog paketa Single Sign-On

Sigurnosni nedostaci programskog paketa Single Sign-On

  • Detalji os-a: WN7
  • Važnost: IMP
  • Operativni sustavi: L
  • Kategorije: LRH

Hash: SHA1

Red Hat Security Advisory

Synopsis: Moderate: Red Hat Single Sign-On security update
Advisory ID: RHSA-2017:2906-01
Product: Red Hat Single Sign-On
Advisory URL:
Issue date: 2017-10-17
CVE Names: CVE-2017-12158 CVE-2017-12159 CVE-2017-12160

1. Summary:

Red Hat Single Sign-On 7.1.3 is now available for download from the
Customer Portal.

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.

2. Description:

Red Hat Single Sign-On 7.1 is a standalone server, based on the Keycloak
project, that provides authentication and standards-based single sign-on
capabilities for web and mobile applications. The Node.js adapter provides
a simple module for authentication and authorization in Node.js

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.

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).

3. Solution:

Before applying the update, back up your existing installation, including
all applications, configuration files, databases and database settings, and
so on.

The References section of this erratum contains a download link (you must
log in to download the update).

4. Bugs fixed (

1484111 – CVE-2017-12159 keycloak: CSRF token fixation
1484154 – CVE-2017-12160 keycloak: resource privilege extension via access token in oauth
1489161 – CVE-2017-12158 keycloak: reflected XSS using HOST header
1503103 – CVE-2017-12197 libpam4j: Account check bypass

5. References:

6. Contact:

The Red Hat security contact is <>. More contact
details at

Copyright 2017 Red Hat, Inc.
Version: GnuPG v1


RHSA-announce mailing list

AutorDanijel Kozinovic
Cert idNCERT-REF-2017-10-0132-ADV
More in Preporuke
Sigurnosni nedostatak programskog paketa rh-nodejs6-nodejs

Otkriven je sigurnosni nedostatak u programskom paketu rh-nodejs6-nodejs za operacijski sustav Red Hat. Otkriveni nedostatak potencijalnim napadačima omogućuje izvođenje napada...