Cross-site scripting in Drupal - CVE-2017-6927

 

Cross-site scripting in Drupal - CVE-2017-6927

Published: February 22, 2018 / Updated: May 29, 2019


Vulnerability identifier: #VU10700
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2017-6927
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists in <VENDOR>.checkPlain() JavaScript function due to insufficient sanitization of user-supplied data. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Name of vulnerable function depends on the software that includes vulnerable library, for example: Drupal.checkPlain(), or Backdrop.checkPlain().



Affected software

Drupal
Backdrop CMS
Fedora
drupal6
drupal7
drupal8

How to mitigate CVE-2017-6927

Update to version 7.57 or 8.4.5.

Backdrop CMS - update to 1.9.2
drupal6 - update to 6.38-2.el6
drupal7 - addressed in versions 7.57-1.el6, 7.57-1.el7, 7.57-1.fc26, 7.57-1.fc27, 7.58-1.el6, 7.58-1.el7, 7.58-1.fc26, 7.58-1.fc27, 7.58-1.fc28
drupal8 - addressed in versions 8.3.9-1.fc26, 8.4.6-3.fc27, 8.4.6-3.fc28

External References

Related Security Bulletins