Arbitrary file upload in Drupal

Published: 2020-11-18
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-13671
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Web applications / CMS

Vendor Drupal

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Arbitrary file upload

EUVDB-ID: #VU48540

Risk: High


CVE-ID: CVE-2020-13671


Exploit availability:


The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to insufficient validation of file during file upload. A remote attacker can upload a malicious PHP file and execute it on the server.

Additionally, it's recommended that you audit all previously uploaded files to check for malicious extensions. Look specifically for files that include more than one extension, like .php.txt or .html.gif. Pay specific attention to the following file extensions, which should be considered dangerous even when followed by another extension:

  • phar
  • php
  • pl
  • py
  • cgi
  • asp
  • js
  • html
  • htm


Install updates from vendor's website.

Vulnerable software versions

Drupal: 7.0 - 9.0.7

Fixed software versions

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?