Overview
On November 19, 2020 (Beijing time), Drupal released a security advisory that fixes a remote code execution vulnerability (CVE-2020-13671). 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.
Affected Versions
- Drupal 9.0.x
- Drupal 8.9.x
- Drupal 8.8.x
- Drupal 7.x
Unaffected Versions
- Drupal 9.0.8
- Drupal 8.9.9
- Drupal 8.8.11
- Drupal 7.74
Solution
Drupal has released the latest versions to fix this vulnerability. Affected users are advised to upgrade as soon as possible.
The latest versions are available at the following links:
Drupal 9.0: https://www.drupal.org/project/drupal/releases/9.0.8
Drupal 8.9: https://www.drupal.org/project/drupal/releases/8.9.9
Drupal 8.8: https://www.drupal.org/project/drupal/releases/8.8.11
Drupal 7:
Additionally, it’s recommended that users audit all previously uploaded files, especially the files that include more than one extension, to check for malicious extensions. For details, please refer to the official advisory by clicking the following link:
Statement
This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.
About NSFOCUS
NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.
NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA). A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.