Vulnerability Name:

CVE-2017-12158

Assigned:2017-08-01
Published:2017-10-26
Updated:2017-11-14
Summary: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.
CVSS v3 Severity:5.4 Medium (CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
5.2 Medium (Temporal CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:H/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
6.1 Medium (CCN CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
5.9 Medium (CCN Temporal CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:H/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:3.5 Low (CVSS v2 Vector: AV:N/AC:M/Au:S/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
3.5 Low (CCN CVSS v2 Vector: AV:N/AC:M/Au:S/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
References:Source: BID
Type: VENDOR_ADVISORY
101618

Source: REDHAT
Type: VENDOR_ADVISORY
RHSA-2017:2904

Source: REDHAT
Type: VENDOR_ADVISORY
RHSA-2017:2905

Source: REDHAT
Type: VENDOR_ADVISORY
RHSA-2017:2906

Source: CONFIRM
Type: UNKNOWN
https://bugzilla.redhat.com/show_bug.cgi?id=1489161

Source: XF
Type: UNKNOWN
keycloak-cve201712158-xss(134163)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:redhat:single_sign_on:7.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:single_sign_on:7.1:*:*:*:*:*:*:*
  • AND
  • cpe:/o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:keycloak:keycloak:-:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    BACK
    redhat single_sign_on 7.0
    redhat single_sign_on 7.1
    redhat enterprise_linux_server 6.0
    redhat enterprise_linux_server 7.0
    keycloak keycloak -