WP File Manager (CVE-2020-25213): a zero-day that let anyone upload files to WordPress

A file manager plugin with about 700,000 installations allowed unauthenticated file upload and code execution. A classic lesson about risky plugins.

Publicly disclosed: 1 September 2020

WP File Manager lets administrators manage server files from the WordPress dashboard. In September 2020 attackers were already exploiting a flaw that allowed anyone — without logging in — to upload a PHP file and run it on the server. The cause: a component of the library it used was left reachable in the plugin's folder.

CVESeverityAffectedFixed in
CVE-2020-25213Critical, CVSS 9.8 (unauthenticated file upload, remote code execution)WP File Manager 6.0 – 6.86.9 and later

How to protect a WordPress site

  1. Turn on automatic updates for plugins, or check updates at least weekly — most mass attacks start within days of a fix.
  2. Remove plugins and themes you do not use; install only from the official directory or the vendor.
  3. Use a web application firewall (WAF) or a security plugin with virtual patching.
  4. Use MFA for administrators and check the user list for unknown admin accounts.
  5. Keep off-site backups of files and the database.

Plugins that give file or database access from the browser are especially risky: install them only when really needed and remove them afterwards.

Sources: Wordfence, NVD CVE-2020-25213.

Need help with this? Contact CySec for a free consultation.


All articles

Need help with this?

Our engineers can review your current setup and propose concrete improvements.