Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2020-13664 BIT-drupal-2020-13664DRUPAL-CORE-2020-005EUVD-2022-5732GHSA-x72f-ggjw-v5xh

Drupal Core Arbitrary PHP code execution vulnerability

Published May 5, 2021 · Updated Aug 4, 2024 · Assigned by drupal

Description

Arbitrary PHP code execution vulnerability in Drupal Core under certain circumstances. An attacker could trick an administrator into visiting a malicious site that could result in creating a carefully named directory on the file system. With this directory in place, an attacker could attempt to brute force a remote code execution vulnerability. Windows servers are most likely to be affected. This issue affects: Drupal Drupal Core 8.8.x versions prior to 8.8.8; 8.9.x versions prior to 8.9.1; 9.0.1 versions prior to 9.0.1.

Affected products

VendorProductAffectedFixed
Drupal Drupal Core 8.8.x – < 8.8.8, 8.9.x – < 8.9.1, 9.0.1 – < 9.0.1 8.8.8

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/core >= 8.0.0, < 8.8.8 · >= 8.9.0, < 8.9.1 · >= 9.0.0, < 9.0.1 8.8.8, 8.9.1, 9.0.1 DRUPAL-CORE-2020-005
Packagist drupal/core >= 8.8.0, < 8.8.8 8.8.8 GHSA-x72f-ggjw-v5xh
Packagist drupal/core >= 8.9.0, < 8.9.1 8.9.1 GHSA-x72f-ggjw-v5xh
Packagist drupal/core >= 9.0.0, < 9.0.1 9.0.1 GHSA-x72f-ggjw-v5xh
Packagist drupal/drupal >= 8.8.0, < 8.8.8 8.8.8 GHSA-x72f-ggjw-v5xh
Packagist drupal/drupal >= 8.9.0, < 8.9.1 8.9.1 GHSA-x72f-ggjw-v5xh
Packagist drupal/drupal >= 9.0.0, < 9.0.1 9.0.1 GHSA-x72f-ggjw-v5xh

References