CVE-2020-13671KEV · OVERDUE

Drupal core Un-restricted Upload of File

High · published November 20, 2020

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 8.8. It is confirmed in active exploitation. It sits in the 98.5th percentile for exploit probability.

1559
days past CISA
deadline
CVSS v3.1
8.8
EPSS
36%
Percentile
98.5
In the wild
Confirmed
What it is

🚨 Improperly sanitized filenames can lead to disastrous consequences in Drupal! An attacker could upload a file that executes malicious PHP code, completely blowing the doors off your website! 🔥 Think of it like a restaurant mistakenly serving a dessert with a savory label; instead of a delightful cake, you get a dish that ruins the entire meal! Here, Drupal mislabels uploaded files, serving them up under the wrong MIME types. This vulnerability allows an attacker to upload a file that could execute PHP code on the server, leading to unauthorized access and potentially complete control over the website. Imagine the chaos – sensitive data exposed, site defaced, or even being used as a launchpad for further attacks!

Put simply

Think of it like a restaurant mistakenly serving a dessert with a savory label; instead of a delightful cake, you get a dish that ruins the entire meal! Here, Drupal mislabels uploaded files, serving them up under the wrong MIME types. The issue arises because Drupal core fails to properly sanitize certain filenames for uploaded files, allowing files to be interpreted as the wrong file type. This can lead to the execution of PHP code when the server misconfigures MIME types.

What to do

This vulnerability allows an attacker to upload a file that could execute PHP code on the server, leading to unauthorized access and potentially complete control over the website. Imagine the chaos – sensitive data exposed, site defaced, or even being used as a launchpad for further attacks! To fortify your Drupal installation, update immediately to Drupal Core 9.0.8, 8.9.9, 8.8.11, or 7.74 depending on your version. Additionally, audit your file upload permissions and ensure proper validation and sanitization mechanisms are in place. Don't wait, fix this now! You're taking action to protect your website! Follow these steps, and you'll be back in the security zone in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.36167 · 98.5th percentile
Published
2020-11-20T15:40Z
KEV added
2022-01-18 · due 2022-07-18
EPSS history
Timeline
  • 24 AUG 23:41Z
    EPSS moved 4% → 35%
    epss
  • 18 JAN 00:00Z
    Added to CISA KEV — remediate by Jul 18
    kev
  • 20 NOV 15:40Z
    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…
    cvelistv5