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

Published Nov 18, 2020
·
Updated

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

21 affected componentsFixes available
composer/drupal/core>=7.0.0, <7.74, >=8.0.0, <8.1.0, >=8.1.0, <8.2.0, >=8.2.0, <8.3.0, >=8.3.0, <8.4.0, >=8.4.0, <8.5.0, >=8.5.0, <8.6.0, >=8.6.0, <8.7.0, >=8.7.0, <8.8.0, >=8.8.0, <8.8.11, >=8.9.0, <8.9.9, >=9.0.0, <9.0.8
composer/drupal/drupal>=7.0.0, <7.74, >=8.0.0, <8.1.0, >=8.1.0, <8.2.0, >=8.2.0, <8.3.0, >=8.3.0, <8.4.0, >=8.4.0, <8.5.0, >=8.5.0, <8.6.0, >=8.6.0, <8.7.0, >=8.7.0, <8.8.0, >=8.8.0, <8.8.11, >=8.9.0, <8.9.9, >=9.0.0, <9.0.8
composer/drupal/drupal>=9.0.0<9.0.8
9.0.8
composer/drupal/drupal>=8.9.0<8.9.9
8.9.9
composer/drupal/drupal>=8.0.0<8.8.11
8.8.11
composer/drupal/drupal>=7.0.0<7.74
7.74
composer/drupal/core>=7.0.0<7.74
7.74
composer/drupal/core>=8.0.0<8.8.11
8.8.11
composer/drupal/core>=8.9.0<8.9.9
8.9.9
composer/drupal/core>=9.0.0<9.0.8
9.0.8
debian/drupal7
Drupal Drupal Core
Drupal Drupal>=7.0<7.74
Drupal Drupal>=8.8<8.8.11
Drupal Drupal>=8.9<8.9.9
Drupal Drupal>=9.0<9.0.8
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Drupal Drupal>=8.8.0<8.8.11
Drupal Drupal>=8.9.0<8.9.9
Drupal Drupal>=9.0.0<9.0.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/drupal to a version that resolves this vulnerability.

    Fixed in 9.0.8
  2. Upgrade

    Upgrade composer/drupal/drupal to a version that resolves this vulnerability.

    Fixed in 8.9.9
  3. Upgrade

    Upgrade composer/drupal/drupal to a version that resolves this vulnerability.

    Fixed in 8.8.11
  4. Upgrade

    Upgrade composer/drupal/drupal to a version that resolves this vulnerability.

    Fixed in 7.74
  5. Upgrade

    Upgrade composer/drupal/core to a version that resolves this vulnerability.

    Fixed in 7.74
  6. Upgrade

    Upgrade composer/drupal/core to a version that resolves this vulnerability.

    Fixed in 8.8.11
  7. Upgrade

    Upgrade composer/drupal/core to a version that resolves this vulnerability.

    Fixed in 8.9.9
  8. Upgrade

    Upgrade composer/drupal/core to a version that resolves this vulnerability.

    Fixed in 9.0.8
  9. Upgrade

    Upgrade Drupal core to a version that resolves this vulnerability.

    Fixed in 9.0.8
  10. Upgrade

    Upgrade Drupal core to a version that resolves this vulnerability.

    Fixed in 8.9.9
  11. Upgrade

    Upgrade Drupal core to a version that resolves this vulnerability.

    Fixed in 8.8.11
  12. Upgrade

    Upgrade Drupal core to a version that resolves this vulnerability.

    Fixed in 7.74

Event History

Nov 18, 2020
Advisory Published
06:02 PM
Nov 20, 2020
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 18, 2022
Known Exploited
via CISA·12:00 AM
Aug 27, 2024
Data Sourced
via Launchpad·05:56 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·05:59 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2020-13671?

The severity of CVE-2020-13671 is high, with a severity value of 8.8.

2

How does CVE-2020-13671 affect Drupal?

CVE-2020-13671 affects Drupal core versions prior to 9.0.8.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203