Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2020-25213: Unauthenticated Remote Code Execution in WordPress File Manager

Published Sep 9, 2020 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS9.8Critical · v3.1
EPSS97.3%100th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendors
FilemanagerproWebdesi9
IdentifiersCVE-2020-25213CWE-434 · Unrestricted Upload of File with…

CVE-2020-25213 is an unauthenticated arbitrary file upload vulnerability in the File Manager plugin for WordPress, affecting versions before 6.9. The plugin exposes an unsafe example elFinder connector by renaming it to use an executable PHP extension without access restrictions. Remote attackers can invoke the elFinder upload command, or combine the mkfile and put commands, to write arbitrary PHP code into a web-accessible plugin directory and execute it. Exploitation requires neither authentication nor user interaction. The vulnerability was exploited in the wild in August and September 2020.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary PHP execution with the permissions of the web server process, compromising the confidentiality, integrity, and availability of accessible application data and resources. Attackers can deploy webshells, modify site content, steal accessible credentials or data, and install additional malware. Observed exploitation deployed Kinsing and cryptocurrency-mining payloads.

Mitigation

If you can’t patch tonight, do this now.

Until the plugin can be updated or removed, block external access to its exposed elFinder connector at the web server or reverse proxy. Prevent PHP execution in upload and file-storage directories where operationally feasible. Do not rely solely on restrictions to the WordPress administrative interface, because the vulnerable connector is directly accessible without authentication.

Remediation

Patch, then assume compromise.

Upgrade the WordPress File Manager plugin to version 6.9 or later. Remove the plugin if it is unnecessary. For potentially compromised installations, patching alone is insufficient: preserve relevant evidence, investigate unauthorized uploads and webshells, remove malicious artifacts and persistence, and rotate exposed credentials.

Public exploits

Exploits

7 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.

View more in app →
wp_file_manager_rce.rbThis repository contains a single Metasploit module (modules/exploits/multi/http/wp_file_manager_rce.rb) that exploits an unauthenticated remote code execution vulnerability (CVE-2020-25213) in the WordPress File Manager plugin (versions 6.0 to 6.8). The exploit leverages the plugin's unsafe handling of the elFinder connector file, allowing attackers to upload arbitrary PHP code to the server. The module supports two exploitation methods ('upload' and 'mkfile+put') to deliver the payload. Upon successful exploitation, the attacker can execute arbitrary PHP code, typically resulting in a reverse shell or Meterpreter session. The module is weaponized, allowing for customizable payloads and automated cleanup. The main endpoints targeted are the vulnerable connector script and the directory where the payload is uploaded. The code is written in Ruby and is designed to be used within the Metasploit framework.Disclosed Sep 9, 2020 · Framework: metasploit · ruby · networkWeaponizedwp-file-manager-CVE-2020-25213This repository contains a Bash script exploit (wp-file-manager-exploit.sh) targeting CVE-2020-25213, a critical vulnerability in the WordPress wp-file-manager plugin (versions 6.0 to 6.8). The exploit leverages an unauthenticated file upload flaw in the plugin's 'connector.minimal.php' endpoint, allowing attackers to upload arbitrary files (such as PHP web shells) to the server. The script provides options to check for the presence and version of the vulnerable plugin, verify if the endpoint is exploitable, and upload a user-supplied file. The README.md provides detailed usage instructions, references, and background on the vulnerability. The main attack vector is network-based, targeting the '/wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php' endpoint on WordPress installations. The exploit is operational, requiring the attacker to supply a payload file, and can result in full remote code execution on vulnerable targets.mansoorr123 · Disclosed Oct 10, 2020 · bash · networkOperationalPython-exploit-CVE-2020-25213This repository contains a Python exploit (exploit.py) targeting CVE-2020-25213, a critical vulnerability in the WordPress File Manager plugin (versions 6.0-6.9). The exploit is unauthenticated and allows remote attackers to upload and execute arbitrary PHP code on the target server. The exploit works by uploading a PHP webshell (shell.php) to the plugin's files directory using a crafted multipart/form-data POST request to the vulnerable elFinder connector endpoint. Once uploaded, the webshell can be accessed to execute arbitrary system commands via the 'cmd' parameter. The repository includes a README.md with usage instructions and context. The main entry point is exploit.py, which is a standalone Python script requiring the target URL and a command to execute. The exploit is operational and was reportedly used in the wild. No detection or fake code is present; the exploit is functional and directly weaponizes the vulnerability.BLY-Coder · Disclosed Jan 22, 2023 · python · networkOperationalPython-CVE-2020-25213This repository contains a Python exploit script (exploit.py) targeting CVE-2020-25213, a vulnerability in the WP File Manager plugin for WordPress (versions before 6.9). The exploit allows remote attackers to upload arbitrary files (such as PHP web shells) to the server by abusing an unsafe example connector file that is accessible and executable. The script provides options to check if a target is vulnerable and to upload a file to the vulnerable endpoint. The main code file is exploit.py, which uses the requests library to interact with the target over HTTP. The README.md provides usage instructions and context. The exploit is operational, requiring the attacker to supply a file to upload. The main fingerprintable endpoints are the plugin's readme.txt (for version checking) and the connector.minimal.php file (for exploitation). The repository is structured simply, with a single exploit script, a requirements file, and documentation.E1tex · Disclosed Aug 2, 2023 · python · networkOperationalwp-file-manager-exploit-CVE-2020-25213-with-ZerologonThis repository is a mixed offensive lab/project bundle rather than a single cohesive exploit. It contains three major components: (1) a Python proof-of-concept exploit for CVE-2020-25213 against the WordPress wp-file-manager plugin, (2) Zerologon exploitation scripts for CVE-2020-1472 targeting Windows domain controllers, and (3) a full copy of the Chisel tunneling utility used as supporting infrastructure for pivoting/tunneling. The most direct exploit code is Python-exploit-CVE-2020-25213/exploit.py. That script takes a base URL and a command, posts a handcrafted multipart/form-data request to /wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php, uploads a PHP file named shell<random>.php containing shell_exec($_REQUEST['cmd']), and then triggers it via /wp-content/plugins/wp-file-manager/lib/files/shell<random>.php?cmd=<command>. This is a real unauthenticated arbitrary file upload leading to RCE against wp-file-manager 6.0-6.9. It is operational but simple: payload is hardcoded, no cleanup, no target validation, and minimal error handling. The zerologon/ directory contains two Python scripts derived from public Zerologon research. set_empty_pw.py repeatedly attempts Netlogon authentication with all-zero challenge/credential values over MSRPC (ncacn_ip_tcp) until successful, then issues NetrServerPasswordSet2 to set the target DC machine account password to an empty string. reinstall_original_pw.py performs a similar authentication bypass and uses a custom NetrServerPasswordSet RPC structure to restore a supplied original NT hash. These are exploitation scripts, not scanners, and enable severe post-exploitation outcomes when used against an unpatched domain controller. The chisel/ directory is not exploit code for a CVE; it is a legitimate Go-based TCP/UDP-over-HTTP tunneling tool with client/server modes, WebSocket transport, SSH-based encryption/authentication, optional SOCKS5, reverse tunneling, TLS/mTLS, and proxy support. In the context of this repository, it appears to be included as an operator utility for pivoting or exposing internal services during the broader attack chain described in the top-level README. Repository structure therefore suggests a coursework/demo attack chain: compromise a vulnerable WordPress client via CVE-2020-25213, use Chisel for tunneling/pivoting, and exploit a vulnerable Windows Server 2019 domain controller via Zerologon. The included code is actionable and offensive, with the WordPress exploit providing immediate command execution and the Zerologon scripts enabling domain-level compromise under the required vulnerable conditions.KienHoSD · Disclosed May 10, 2026 · python · go · web · networkOperationalCVE-2020-25213-exploitThis standalone repository targets CVE-2020-25213, an exposed elFinder sample connector in the WP File Manager WordPress plugin that permits unauthenticated arbitrary file uploads and, where uploaded PHP executes, remote code execution. It contains three files: .gitignore for Python caches and virtual environments, a Spanish README describing the vulnerability and usage, and one Python CLI exploit. The CLI requires a base URL and exactly one action: check, execute a command, or upload a local file. It uses requests and rich, defaults to a 10-second timeout, sends a Chrome-like User-Agent, and disables TLS certificate verification unless explicitly enabled. Visible detection logic reads the plugin version and checks the connector for an exact errUnknownCmd response. Version lookup failure is treated as inconclusive and permits checking to continue; every parsed version below 6.9 is labeled vulnerable without enforcing the documented 6.0 lower bound. The connector check demonstrates exposure rather than proving successful upload or PHP execution, and its exact-string matching can miss differently formatted responses. Visible upload preparation sets cmd=upload, target=l1_Lw, and fixed reqid and mtime values. The README describes a temporary PHP command webshell, output retrieval, automatic cleanup, and optional retention, but the supplied source is truncated before those implementations can be verified. No fixed attacker-controlled host or callback endpoint is visible. No framework integration or obvious fake-exploit behavior is evident. The original repository URL, git reference, and archive size were not supplied; empty strings and zero represent unavailable repository metadata.Maalfer · Disclosed Oct 14, 2026 · python · webOperationalCEV-2020-25213_wp-file-manger_exploitThe repository contains a README and one standalone Python exploit, wp_filemangaer_rce.py; it is not part of an exploit framework. The script executes at module scope and requires a target URL, callback IP, and callback port. It probes the exposed elFinder connector for errUnknownCmd, writes a PHP webshell to /tmp/shell.php, and uploads it as shell.php with an image/png MIME type. It then checks whether the response mentions shell.php, starts netcat, and invokes the presumed uploaded webshell to establish a Bash reverse shell. This is an exploitation script with a preliminary heuristic check, not merely a detector. The command-execution payload is hardcoded, while the target and callback are configurable. There are no fixed remote hosts in the code; addresses shown in the README are examples only. Reliability limitations include substring-only success checks, no version verification, no HTTP timeouts or exception handling, an assumed upload location, no listener-readiness synchronization, and no cleanup of local or remote payload files. The webshell remains available after the attempted callback. The README's affected-version claim of ≤6.0 and patched-version claim of 6.4 are inaccurate: CVE-2020-25213 affects versions 6.0–6.8 and was fixed in 6.9. The supplied files total 4,177 bytes; no archive size or Git reference was provided, so size_bytes is recorded as 0 to indicate unavailable metadata.rigby721 · Disclosed Oct 25, 2026 · python · webOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
FilemanagerproFile Managerapplication
Webdesi9File Managerapplication
FAQ

Frequently asked questions

Is CVE-2020-25213 exploited in the wild?
Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2020-25213?
Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2020-25213, the earliest disclosed Sep 9, 2020.
Is there a patch for CVE-2020-25213?
Upgrade the WordPress File Manager plugin to version 6.9 or later. Remove the plugin if it is unnecessary.
What products are affected by CVE-2020-25213?
Filemanagerpro File Manager and Webdesi9 File Manager.
How severe is CVE-2020-25213?
CVE-2020-25213 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 97.3% (100th percentile) as of Nov 28, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware13Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.