GHSA-68jc-v27h-vhmw
Drupal core Unrestricted Upload of File with Dangerous Type
At a glance
- Published
- Updated
- CVE
- CVE-2020-13671
- Aliases
- BIT-drupal-2020-13671, DRUPAL-CORE-2020-012
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H
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
| Package | Versions |
|---|---|
| Packagist · drupal/core | introduced 9.0.0, fixed 9.0.8 |
| Packagist · drupal/core | introduced 8.9.0, fixed 8.9.9 |
| Packagist · drupal/core | introduced 8.0.0, fixed 8.8.11 |
| Packagist · drupal/core | introduced 7.0.0, fixed 7.74 |
| Packagist · drupal/drupal | introduced 7.0.0, fixed 7.74 |
| Packagist · drupal/drupal | introduced 8.0.0, fixed 8.8.11 |
| Packagist · drupal/drupal | introduced 8.9.0, fixed 8.9.9 |
| Packagist · drupal/drupal | introduced 9.0.0, fixed 9.0.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-13671 ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13671.yaml WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13671.yaml WEB
- https://github.com/drupal/core PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437 WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437 WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671 WEB
- https://www.drupal.org/sa-core-2020-012 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |