Stackurity Start free trial

CVEs / CVE-2020-13671

CVE-2020-13671: Drupal core Un-restricted Upload of File

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2020-13671

Summary

Improper sanitization in the extension file names is present in Drupal core.

CISA, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 20 Nov 2020 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Drupal Drupal Core9.0 versions prior to 9.0.8—
Drupal Drupal Core8.9 versions prior to 8.9.9—
Drupal Drupal Core8.8 versions prior to 8.8.11—
Drupal Drupal Core7 versions prior to 7.74—
As stated by OSV
ProductAffectedFixed in
drupal/core (Packagist)from 9.0.0, before 9.0.89.0.8
drupal/core (Packagist)from 8.9.0, before 8.9.98.9.9
drupal/core (Packagist)from 8.0.0, before 8.8.118.8.11
drupal/core (Packagist)from 7.0.0, before 7.747.74
drupal/drupal (Packagist)from 7.0.0, before 7.747.74
drupal/drupal (Packagist)from 8.0.0, before 8.8.118.8.11
drupal/drupal (Packagist)from 8.9.0, before 8.9.98.9.9
drupal/drupal (Packagist)from 9.0.0, before 9.0.89.0.8

Package versions from GHSA-68jc-v27h-vhmw.

Exploitation

In CISA KEV since18 Jan 2022
Due date for US federal agencies18 Jul 2022
Used in ransomware campaignsUnknown
Required actionApply updates per vendor instructions.

Severity

CVSS 3.18.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-434

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.