Drupal 7.x < 7.73 / 8.8.x < 8.8.10 / 8.9.x < 8.9.6 / 9.0.x < 9.0.6 XSS (drupal-2020-09-16)

medium Nessus Plugin ID 140766

Synopsis

A PHP application running on the remote web server is affected by a cross-site scripting vulnerability

Description

According to its self-reported version, the instance of Drupal running on the remote web server is 7.x prior to 7.73, 8.8.x prior to 8.8.10, 8.9.x prior to 8.9.6, or 9.0.x prior to 9.0.6. It is, therefore, affected by a cross-site scripting (XSS) vulnerability in the AJAX API component due to improper validation of user-supplied input before returning it to users. An authenticated, remote attacker can exploit this, by convincing a user to click a specially crafted URL, to execute arbitrary script code in a user's browser session.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Drupal version 7.73 / 8.8.10 / 8.9.6 / 9.0.6 or later.

See Also

https://www.drupal.org/sa-core-2020-007

https://www.drupal.org/project/drupal/releases/7.73

https://www.drupal.org/project/drupal/releases/8.8.10

https://www.drupal.org/project/drupal/releases/8.9.6

https://www.drupal.org/project/drupal/releases/9.0.6

Plugin Details

Severity: Medium

ID: 140766

File Name: drupal_9_0_6_xss.nasl

Version: 1.6

Type: remote

Family: CGI abuses

Published: 9/24/2020

Updated: 4/11/2022

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2020-13666

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:drupal:drupal

Required KB Items: Settings/ParanoidReport, installed_sw/Drupal

Exploit Ease: No known exploits are available

Patch Publication Date: 9/16/2020

Vulnerability Publication Date: 9/16/2020

Reference Information

CVE: CVE-2020-13666

IAVA: 2020-A-0433-S