Drupal 7.x < 7.74 / 8.x < 8.8.11 / 8.9.x < 8.9.9 / 9.0.x < 9.0.8 RCE (SA-CORE-2020-012)

Medium Nessus Plugin ID 143126

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 8.3

Synopsis

A PHP application running on the remote web server is affected by a remote code execution vulnerability.

Description

According to its self-reported version, the instance of Drupal running on the remote web server is 7.x prior to 7.74, 8.x prior to 8.8.11, 8.9.x prior to 8.9.9, or 9.0.x prior to 9.0.8. It is, therefore, affected by a remote code execution vulnerability in its file upload functionality due to a failure to sanitize filenames. An authenticated, remote attacker can exploit this to execute arbitrary php code under certain hosting configurations.

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.74 / 8.8.11 / 8.9.9 / 9.0.8 or later.

See Also

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

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

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

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

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

Plugin Details

Severity: Medium

ID: 143126

File Name: drupal_9_0_8.nasl

Version: 1.2

Type: remote

Family: CGI abuses

Published: 2020/11/20

Updated: 2020/11/24

Dependencies: 18638

Configuration: Enable paranoid mode

Risk Information

Risk Factor: Medium

VPR Score: 8.3

CVSS Score Source: CVE-2020-13671

CVSS v2.0

Base Score: 6.4

Temporal Score: 4.7

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: cpe:/a:drupal:drupal

Required KB Items: installed_sw/Drupal, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 2020/11/18

Vulnerability Publication Date: 2020/11/18

Reference Information

CVE: CVE-2020-13671

IAVA: 2020-A-0541