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.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Drupal / Drupal core9.0 versions prior to 9.0.8 – 9.0 versions prior to 9.0.8
- Drupal / Drupal core8.9 versions prior to 8.9.9 – 8.9 versions prior to 8.9.9
- Drupal / Drupal core8.8 versions prior to 8.8.11 – 8.8 versions prior to 8.8.11
- Drupal / Drupal core7 versions prior to 7.74 – 7 versions prior to 7.74
References
- MISChttps://www.drupal.org/sa-core-2020-012
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/