Drupal Core arbitrary PHP code execution (CVE-2020-13664)
CVE-2020-13664 is an arbitrary PHP code execution vulnerability in Drupal Core under certain circumstances. An attacker can trick an authenticated administrator into visiting a malicious site, which can result in creation of a carefully named directory on the server’s filesystem. With that directory in place, the attacker can then attempt to brute-force a path to achieve code execution, potentially escalating to remote code execution. Windows-based Drupal deployments are described as most likely to be affected. Affected versions include Drupal Core 8.8.x prior to 8.8.8, 8.9.x prior to 8.9.1, and 9.0.x prior to 9.0.1.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can result in arbitrary PHP code execution in the context of the Drupal application, with potential for full remote code execution on the underlying server. This can enable complete compromise of the Drupal site and, depending on hosting configuration and privileges, broader system compromise. Windows servers are noted as most likely to be affected.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, reduce exploitability by limiting administrative exposure: prevent administrators from browsing untrusted sites while authenticated, restrict access to administrative interfaces (e.g., IP allowlisting/VPN), and harden filesystem permissions to reduce the chance of unexpected directory creation where feasible. Applying the fixed Drupal releases is the primary mitigation.
Patch, then assume compromise.
Upgrade Drupal Core to a fixed release: 8.8.8 or later (for 8.8.x), 8.9.1 or later (for 8.9.x), or 9.0.1 or later (for 9.0.x).
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.