CVE Catalog

Actively exploited in the wild

Drupal core Un-restricted Upload of File

Drupal - Drupal core · Listed in the CISA KEV since 2022-01-18. This indicates confirmed attacks in production environments.

Required action: Apply updates per vendor instructions.

CVE-2020-13671

HighCVSS 8.8KEV
Published: Updated: Translated: NVD NIST

Summary

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 Core 9.0 versions prior to 9.0.8, 8.9 prior to 8.9.9, 8.8 prior to 8.8.11, and 7 prior to 7.74.

Risk Assessment

An attacker could upload a malicious file that gets executed as PHP, potentially leading to remote code execution and site compromise. However, file upload capability is required.

Recommendation

Update Drupal core to version 9.0.8, 8.9.9, 8.8.11, or 7.74 (or later). It is also recommended to review server configuration for PHP execution.

Other vulnerabilities in Drupal Core

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS