DrupalCMS

CVE-2020-13664

HIGH · 8.8 CVSS v3.1 Published 2021-05-05
Fix available
A fix is available. Upgrade to 8.8.8 / 8.9.1 or later.
See remediation →
95/100
Remediation priority · Urgent
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Arbitrary PHP code execution vulnerability in Drupal Core where an attacker tricks an administrator into visiting a malicious site that creates a specially named directory on the file system; this directory then enables a brute force attack for remote code execution. Windows servers are most vulnerable.

MitigationUpdate Drupal Core to version 8.8.8, 8.9.1, 9.0.1 or later. Until patched, restrict administrative access and monitor for unauthorized directory creation.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
DrupalCMS
Affected:>= 8.8.0, < 8.8.8>= 8.9.0, < 8.9.1>= 9.0.0, < 9.0.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check installed Drupal version
    Run 'drush status' or view the 'Status report' page at /admin/reports/status, or check the VERSION file in the Drupal root directory
    Affected if The version is >= 8.8.0 and < 8.8.8, OR >= 8.9.0 and < 8.9.1, OR >= 9.0.0 and < 9.0.1
  2. Identify the server operating system
    Run 'uname' on Linux/Unix or 'systeminfo' on Windows, or check the server environment variables
    Affected if The server is running Windows (this CVE affects Windows servers most severely)
  3. Inspect the Drupal file system for unexpected directories
    Review all directories in the Drupal root and sites/default/files directory for any newly created or unusually named directories that were not created by your organization
    Affected if Any suspicious or specially named directories exist that were not intentionally created by administrators
  4. Check web server process file system permissions
    Review the web server user permissions on the Drupal directory structure; verify that the web server process does not have write access to the Drupal root or module directories beyond what is intentionally permitted
    Affected if The web server process has overly broad write permissions to directories outside of the files directory

A user is affected if their Drupal version falls within the vulnerable ranges AND they are running on a Windows server with the described vulnerability conditions present.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 8.8.8 / 8.9.1 / 9.0.1 or later
Fixed in 8.8.88.9.19.0.1
Interim mitigation

Update Drupal Core to version 8.8.8, 8.9.1, 9.0.1 or later. Until patched, restrict administrative access and monitor for unauthorized directory creation.

Recommended fix High confidence

Drupal Core 8.8.8, 8.9.1, or 9.0.1 (depending on your current branch)

  1. 1. Back up your Drupal database and file system before making any changes
  2. 2. Identify your current Drupal version at admin/reports/status
  3. 3. Download the appropriate fixed version from www.drupal.org (8.8.8, 8.9.1, or 9.0.1 depending on your branch)
  4. 4. Put your site in maintenance mode at admin/config/development/maintenance
  5. 5. Replace the Drupal core files with the new version, preserving your configuration and sites directory
  6. 6. Run database updates by visiting update.php or using drush updatedb
  7. 7. Clear all Drupal caches using drush cr or admin/config/development/performance
  8. 8. Test the site functionality in a staging environment before deploying to production
Caveat Drupal minor version upgrades generally maintain compatibility; verify that contributed modules support the target version before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Drupal Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing4.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,080
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2020-13664 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2020-13664 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data