Drupal 8.9.x < 8.9.19 / 9.1.x < 9.1.13 / 9.2.x < 9.2.6 Multiple Vulnerabilities (drupal-2021-09-15)

critical Nessus Plugin ID 153402

Synopsis

A PHP application running on the remote web server is affected by multiple vulnerabilities.

Description

According to its self-reported version, the instance of Drupal running on the remote web server is 8.9.x prior to 8.9.19, 9.1.x prior to 9.1.13, or 9.2.x prior to 9.2.6. It is, therefore, affected by multiple vulnerabilities.

- Under some circumstances, the Drupal core JSON:API module does not properly restrict access to certain content, which may result in unintended access bypass. Sites that do not have the JSON:API module enabled are not affected. This advisory is not covered by Drupal Steward. (CVE-2020-13677)

- The QuickEdit module does not properly check access to fields in some circumstances, which can lead to unintended disclosure of field data. Sites are only affected if the QuickEdit module (which comes with the Standard profile) is installed. This advisory is not covered by Drupal Steward. (CVE-2020-13676)

- Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site. This vulnerability is mitigated by three factors: The JSON:API or REST File upload modules must be enabled on the site. An attacker must have access to a file upload via JSON:API or REST. The site must employ a file validation module. This advisory is not covered by Drupal Steward. Also see GraphQL - Moderately critical
- Access bypass - SA-CONTRIB-2021-029 which addresses a similar vulnerability for that module.
(CVE-2020-13675)

- The QuickEdit module does not properly validate access to routes, which could allow cross-site request forgery under some circumstances and lead to possible data integrity issues. Sites are only affected if the QuickEdit module (which comes with the Standard profile) is installed. Removing the access in-place editing permission from untrusted users will not fully mitigate the vulnerability. This advisory is not covered by Drupal Steward. (CVE-2020-13674)

- The Drupal core Media module provides a filter to allow embedding internal and external media in content fields. In certain circumstances, the filter could allow an unprivileged user to inject HTML into a page when it is accessed by a trusted user with permission to embed media. In some cases, this could lead to cross-site scripting. This advisory is not covered by Drupal Steward. Also see Entity Embed - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2021-028 which addresses a similar vulnerability for that module. (CVE-2020-13673)

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 8.9.19 / 9.1.13 / 9.2.6 or later.

See Also

https://www.drupal.org/sa-core-2021-010

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

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

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

https://www.drupal.org/steward

https://www.drupal.org/sa-core-2021-009

https://www.drupal.org/node/3227039

https://www.drupal.org/sa-core-2021-008

https://www.drupal.org/sa-contrib-2021-029

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

https://www.drupal.org/sa-core-2021-006

https://www.drupal.org/sa-contrib-2021-028

Plugin Details

Severity: Critical

ID: 153402

File Name: drupal_9_2_6.nasl

Version: 1.6

Type: remote

Family: CGI abuses

Published: 9/15/2021

Updated: 4/11/2022

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2020-13675

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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/15/2021

Vulnerability Publication Date: 9/15/2021

Reference Information

CVE: CVE-2020-13673, CVE-2020-13674, CVE-2020-13675, CVE-2020-13676, CVE-2020-13677

IAVA: 2021-A-0412-S