Skip to main content
← All vulnerabilities
CVE-2020-13671DRUPAL-CORE-2020-012BIT-DRUPAL-2020-13671GHSA-68JC-V27H-VHMW

Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect exten

Published
Last modified
published
Listed in CISA KEV
Fix
Fixed in 8.8.11, 8.9.9, 9.0.8, 7.74
None on Exploit-DB, Metasploit or GitHub

Summary

Drupal core, the foundational software for Drupal content management websites, is affected. The flaw can cause uploaded files to be treated as the wrong file type, potentially allowing them to run as PHP code on certain hosting setups.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.

Timeline

  1. CVE published
  2. Added to CISA KEV

    CISA has evidence of exploitation in the wild

  3. CISA remediation deadline

    Due date for US federal agencies to patch

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Drupal Drupal Core

    9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, 7 versions prior to 7.74

  • drupal/corePackagist

    From 8.0.0 · fixed in 8.8.11; From 8.9.0 · fixed in 8.9.9; From 9.0.0 · fixed in 9.0.8

  • drupal/corePackagist

    From 9.0.0 · fixed in 9.0.8

  • drupal/corePackagist

    From 8.9.0 · fixed in 8.9.9

  • drupal/corePackagist

    From 8.0.0 · fixed in 8.8.11

  • drupal/corePackagist

    From 7.0.0 · fixed in 7.74

  • drupal/drupalPackagist

    From 7.0.0 · fixed in 7.74

  • drupal/drupalPackagist

    From 8.0.0 · fixed in 8.8.11

  • drupal/drupalPackagist

    From 8.9.0 · fixed in 8.9.9

  • drupal/drupalPackagist

    From 9.0.0 · fixed in 9.0.8

References 3

drupal.org

lists.fedoraproject.org