CVE-2020-25213

WordPress File Manager Plugin: Remote Code Execution

As of , CVE-2020-25213 in WordPress File Manager Plugin is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

Exploited
Yes: CISA listed it on 3 November 2021
US federal deadline
3 May 2022181 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS score
0.97Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
EPSS when listed
Not availableCISA listed it before 4 February 2022, where the EPSS files we read begin.
Public exploit
1 Metasploit module and 2 Exploit-DB entries (1 verified)
Fix
No vendor link in CISA's entry

What CISA says to do

Apply updates per vendor instructions.

CISA's required action

What the flaw is

WordPress File Manager plugin contains a remote code execution vulnerability that allows unauthenticated users to execute PHP code and upload malicious files on a target site.

CISA's description

The File Manager (wp-file-manager) plugin before 6.9 for WordPress allows remote attackers to upload and execute arbitrary PHP code because it renames an unsafe example elFinder connector file to have the .php extension. This, for example, allows attackers to run the elFinder upload (or mkfile and put) command to write PHP code into the wp-content/plugins/wp-file-manager/lib/files/ directory. This was exploited in the wild in August and September 2020.

The CVE record's description, from mitre

CVE published
9 September 2020
Assigned by
mitre
CVSS
10.0 Critical (CVSS 3.1, from the CNA)
CWE-434
Unrestricted Upload of File with Dangerous Type
CISA SSVC, exploitation
active
CISA SSVC, automatable
yes
CISA SSVC, technical impact
total

Timeline

  1. The CVE record was published.
  2. Exploit-DB published an exploit (EDB-ID 49178).
  3. CISA added it to its list of exploited vulnerabilities.
  4. The US federal deadline to fix it.
  5. Exploit-DB published an exploit (EDB-ID 51224).

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Read further