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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | drupal7 | 7.74-r0 | ALPINE-CVE-2020-13671 |
| Packagist | drupal/core | 8.8.11, 8.9.9, 9.0.8 | DRUPAL-CORE-2020-012 |
| Packagist | drupal/core | 9.0.8 | GHSA-68jc-v27h-vhmw |
| Packagist | drupal/core | 8.9.9 | GHSA-68jc-v27h-vhmw |
| Packagist | drupal/core | 8.8.11 | GHSA-68jc-v27h-vhmw |
| Packagist | drupal/core | 7.74 | GHSA-68jc-v27h-vhmw |
| Packagist | drupal/drupal | 7.74 | GHSA-68jc-v27h-vhmw |
| Packagist | drupal/drupal | 8.8.11 | GHSA-68jc-v27h-vhmw |
| Packagist | drupal/drupal | 8.9.9 | GHSA-68jc-v27h-vhmw |
| Packagist | drupal/drupal | 9.0.8 | GHSA-68jc-v27h-vhmw |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://www.drupal.org/sa-core-2020-012 x_refsource_CONFIRM
- FEDORA-2020-6f1079934c vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-d50d74d6f2 vendor-advisory, x_refsource_FEDORA
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671 government-resource