A Vulnerability in Drupal Could Allow for Remote Code Execution

ITS Advisory Number: 
2020-157
Date(s) Issued: 
Thursday, November 19, 2020
Subject: 
A Vulnerability in Drupal Could Allow for Remote Code Execution
Overview: 

A vulnerability has been discovered in the Drupal core module, which could allow for remote code execution. Drupal is an open source content management system (CMS) written in PHP. Successful exploitation of this vulnerability could allow for remote code execution. Depending on the privileges associated with the user, an attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than those who operate with administrative user rights.

 

THREAT INTELLIGENCE:

There are currently no reports of this vulnerability being exploited in the wild.

Systems Affected: 
  • Drupal Core versions prior to 9.0.8, 8.9.9, 8.8.11, and 7.74

RISK
GOVERNMENT
Large and medium government entities: 
High
Small government entities: 
High
BUSINESS
Large and medium business entities: 
High
Small business entities: 
High
Home Users: 
Low
Description: 

A vulnerability has been discovered in the Drupal core module, which could allow for remote code execution. The remote code execution vulnerability exists due to a lack of proper data sanitization of certain filenames on uploaded files. This can lead to files being interpreted as the incorrect extension, served as the wrong MIME type, or executed as PHP for certain hosting configurations. 

Successful exploitation of this vulnerability could allow for remote code execution. Depending on the privileges associated with the user, an attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than those who operate with administrative user rights.

Actions: 
  • Ensure no unauthorized system changes have occurred before applying patches.

  • After appropriate testing, immediately apply patches provided by Drupal to vulnerable systems.

  • Run all software as a non-privileged user to diminish effects of a successful attack.

  • Apply the Principle of Least Privilege to all systems and services.

  • Drupal version 8.7.x and earlier sites should be migrated to supported Drupal versions as soon as possible after patches are applied.