Actively exploited · Published Nov 20, 2020 · Assigned by drupal

CVE-2020-13671

High 8.8 Exploited

In plain English

A high-severity unrestricted file upload in Drupal Core from Drupal. Attackers are actively exploiting it in the wild (listed by CISA on January 18, 2022). The chance it is exploited in the next 30 days is estimated at 36.2% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)36.2%top 1.5% of all CVEs
Exploited in the wildYesCISA KEV since Jan 18, 2022
Attack tooling1Public PoC

CISA guidance

Apply updates per vendor instructions.

Federal agencies must remediate by Jul 18, 2022.

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20drupal77.74-r0ALPINE-CVE-2020-13671
Packagistdrupal/core8.8.11, 8.9.9, 9.0.8DRUPAL-CORE-2020-012
Packagistdrupal/core9.0.8GHSA-68jc-v27h-vhmw
Packagistdrupal/core8.9.9GHSA-68jc-v27h-vhmw
Packagistdrupal/core8.8.11GHSA-68jc-v27h-vhmw
Packagistdrupal/core7.74GHSA-68jc-v27h-vhmw
Packagistdrupal/drupal7.74GHSA-68jc-v27h-vhmw
Packagistdrupal/drupal8.8.11GHSA-68jc-v27h-vhmw
Packagistdrupal/drupal8.9.9GHSA-68jc-v27h-vhmw
Packagistdrupal/drupal9.0.8GHSA-68jc-v27h-vhmw

Affected products (as reported)

VendorProductVersions
Drupal Drupal Core 9.0 versions prior to 9.0.88.9 versions prior to 8.9.98.8 versions prior to 8.8.117 versions prior to 7.74

Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References