CVE-2020-13671: Drupal core Un-restricted Upload of File
Drupal core - Critical - Remote code execution - SA-CORE-2020-012
Other sources
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.
Improper sanitization in the extension file names is present in Drupal core.
— CISA
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/drupalto a version that resolves this vulnerability.Fixed in 9.0.8 - Upgrade
Upgrade
composer/drupal/drupalto a version that resolves this vulnerability.Fixed in 8.9.9 - Upgrade
Upgrade
composer/drupal/drupalto a version that resolves this vulnerability.Fixed in 8.8.11 - Upgrade
Upgrade
composer/drupal/drupalto a version that resolves this vulnerability.Fixed in 7.74 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 7.74 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 8.8.11 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 8.9.9 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 9.0.8 - Upgrade
Upgrade
Drupal coreto a version that resolves this vulnerability.Fixed in 9.0.8 - Upgrade
Upgrade
Drupal coreto a version that resolves this vulnerability.Fixed in 8.9.9 - Upgrade
Upgrade
Drupal coreto a version that resolves this vulnerability.Fixed in 8.8.11 - Upgrade
Upgrade
Drupal coreto a version that resolves this vulnerability.Fixed in 7.74
Event History
Frequently Asked Questions
What is the severity of CVE-2020-13671?
The severity of CVE-2020-13671 is high, with a severity value of 8.8.
How does CVE-2020-13671 affect Drupal?
CVE-2020-13671 affects Drupal core versions prior to 9.0.8.
What is the impact of CVE-2020-13671?
The impact of CVE-2020-13671 is the incorrect interpretation of uploaded files, leading to serving files with the wrong MIME type or executing them as PHP.
How do I fix CVE-2020-13671 in Drupal?
To fix CVE-2020-13671 in Drupal, you need to upgrade to Drupal core version 9.0.8.
Where can I find more information about CVE-2020-13671?
You can find more information about CVE-2020-13671 on the Drupal website and the NIST NVD website.