CVE-2020-13671
Drupal Drupal Core
At a glance
- Source
- NVD
- EPSS
- EPSS 36.17 % · percentile 98 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- drupal
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-434 — Unrestricted Upload of File with Dangerous Type
References
- https://www.drupal.org/sa-core-2020-012
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
| CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- DRUPAL-CORE-2020-012 — *Update November 18: Documented longer list of dangerous file extensions*
- GHSA-68jc-v27h-vhmw — Drupal core Unrestricted Upload of File with Dangerous Type
European references
- ENISA EUVD · EUVD-2021-2168
- GCVE · GCVE-0-2020-13671
CERT-FR advisories
- CERTFR-2020-AVI-760 — Vulnérabilité dans Drupal Core · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 7.0 < 7.74cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 8.8.0 < 8.8.11cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 8.9.0 < 8.9.9cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 9.0.0 < 9.0.8cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Drupal · Drupal Core | affected 9.0 versions prior to 9.0.8 ; affected 8.9 versions prior to 8.9.9 ; affected 8.8 versions prior to 8.8.11 ; affected 7 versions prior to 7.74 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| CISA Known Exploited Vulnerabilities | CC0 1.0 |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |