Vulnerability Name:

CVE-2017-6927 (CCN-139340)

Assigned:2017-02-21
Published:2017-02-21
Updated:2018-03-22
Summary:Drupal 8.4.x versions before 8.4.5 and Drupal 7.x versions before 7.57 has a Drupal.checkPlain() JavaScript function which is used to escape potentially dangerous text before outputting it to HTML (as JavaScript output does not typically go through Twig autoescaping). This function does not correctly handle all methods of injecting malicious HTML, leading to a cross-site scripting vulnerability under certain circumstances. The PHP functions which Drupal provides for HTML escaping are not affected.
CVSS v3 Severity:6.1 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
5.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
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
5.4 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
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
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.5 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Cross-Site Scripting
References:Source: MITRE
Type: CNA
CVE-2017-6927

Source: BID
Type: Third Party Advisory, VDB Entry
103138

Source: CCN
Type: BID-103138
Drupal Core CVE-2017-6927 Cross Site Scripting Vulnerability

Source: XF
Type: UNKNOWN
drupal-javascriptprevent-xss(139340)

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20180228 [SECURITY] [DLA 1295-1] drupal7 security update

Source: DEBIAN
Type: Third Party Advisory
DSA-4123

Source: CCN
Type: SA-CORE-2018-001
Drupal core - Critical - Multiple Vulnerabilities

Source: CONFIRM
Type: Vendor Advisory
https://www.drupal.org/sa-core-2018-001

Vulnerable Configuration:Configuration 1:
  • cpe:/a:drupal:drupal:*:*:*:*:*:*:*:* (Version >= 7.0 and < 7.57)
  • OR cpe:/a:drupal:drupal:*:*:*:*:*:*:*:* (Version >= 8.4.0 and < 8.4.5)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:drupal:drupal:7.56:*:*:*:*:*:*:*
  • OR cpe:/a:drupal:drupal:8.4.4:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.artful:def:20176927000
    V
    CVE-2017-6927 on Ubuntu 17.10 (artful) - untriaged.
    2018-03-01
    oval:com.ubuntu.trusty:def:20176927000
    V
    CVE-2017-6927 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-03-01
    oval:com.ubuntu.xenial:def:20176927000
    V
    CVE-2017-6927 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-03-01
    oval:com.ubuntu.xenial:def:201769270000000
    V
    CVE-2017-6927 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-03-01
    BACK
    drupal drupal *
    drupal drupal *
    debian debian linux 7.0
    debian debian linux 8.0
    debian debian linux 9.0
    drupal drupal 7.56
    drupal drupal 8.4.4