WordPress File Manager Plugin
WordPress File Manager Plugin Remote Code Execution Vulnerability
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.
Timeline
Days relative to CVE publicationFirst public PoC 32 days after publication; added to CISA KEV 1.1 years after publication. First PoC: Metasploit exploit: WordPress File Manager Unauthenticated Remote Code Execution (exploit/multi/http/wp_file_manager_rce) (Metasploit, 10 Oct 2020).
PoC repositories
Found on GitHub.11 PoCs · 2 pending · 1 informational · 1 not a PoC · 3 suspicious or fake
PoCs 11
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| w4fz5uck5/wp-file-manager-0day | 25 Aug 2020 −14 d | backfilled | 73 | PoC older repo: PoC date unknown, not used for the first PoC |
| mansoorr123/wp-file-manager-CVE-2020-25213 | 10 Oct 2020 +32 d | backfilled | 57 | PoC |
| electronforce/py2to3 | 9 Mar 2021 +182 d | backfilled | 2 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| 0000000O0Oo/Wordpress-CVE-2020-25213 | 12 Mar 2021 +185 d | backfilled | 0 | PoC via PoC Index |
| b1ackros337/CVE-2020-25213 | 24 May 2022 +1.7 y | backfilled | 0 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| BLY-Coder/Python-exploit-CVE-2020-25213 | 22 Jan 2023 +2.4 y | backfilled | 6 | PoC |
| E1tex/Python-CVE-2020-25213 | 2 Aug 2023 +2.9 y | backfilled | 3 | PoC |
| HackfutSecRoot/wordpress-auto-upload-shell | 4 Oct 2026 +6.1 y | backfilled | 1 | PoC |
| w0rmgh4d/Wordpress---Auto-Exploit | 5 Oct 2026 +6.1 y | backfilled | 0 | PoC via PoC Index |
| Maalfer/CVE-2020-25213-exploit | 14 Oct 2026 +6.1 y | backfilled | 2 | PoC |
| rigby721/CEV-2020-25213_wp-file-manger_exploit | 25 Oct 2026 +6.1 y | 14 Nov 2026 | 0 | PoC |
Pending 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Cmadhushanka/wordpress-rce-vapt-cve-2020-25213 | 9 May 2026 +5.7 y | 0 | Pending · mkdir /quarantine/Cmadhushanka__wordpress-rce-vapt-cve-2020-25213-9da2dc2a06b4: permission denied |
| Nguyen-id/CVE-2020-25213 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| piruprohacking/CVE-2020-25213 | 3 Apr 2021 +207 d | 0 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| kakamband/WPKiller | 13 Nov 2020 +66 d | 1 | Not a PoC · unrelated |
Suspicious or fake 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 3xPr1nc3/wp-file-manager-exploit | 11 Sep 2020 +2.3 d | 2 | Fake |
| forse01/CVE-2020-25213-Wordpress | 4 Feb 2021 +148 d | 0 | Fake |
| KienHoSD/wp-file-manager-exploit-CVE-2020-25213-with-Zerologon | 10 May 2026 +5.7 y | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | WordPress Plugin Wp-FileManager 6.8 - RCE | 2 Dec 2020 | 14 Nov 2026 |
| Exploit-DB | WP-file-manager v6.9 - Unauthenticated Arbitrary File Upload leading to RCE | 3 Apr 2023 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: WordPress File Manager Unauthenticated Remote Code Execution (exploit/multi/http/wp_file_manager_rce) | 10 Oct 2020 | 14 Nov 2026 |
| nuclei template | nuclei template: WordPress File Manager Plugin - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 11 PoC reposPOST /wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept: */*Accept-Language: en-US,en;q=0.9Expect: 100-continueUpgrade-Insecure-Requests: 1- Body markers
------WebKitFormBoundaryvToPIGAB0m9SB1Ww Content-Disposition: form-data; name="cmd" upload ------WebKitFormBoundarycmd=uploadtarget=l1_Lwtarget=l1_--------------------------66e3ca93281c7050 Content-Disposition: form-data; name="cmd" upload ----------------------inmultipart/form-data; boundary=----WebKitFormBoundaryvToPIGAB0m9SB1Ww- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36curl/7.68.0- Seen in
- 5 repos: BLY-Coder/Python-exploit-CVE-2020-25213, HackfutSecRoot/wordpress-auto-upload-shell, electronforce/py2to3, rigby721/CEV-2020-25213_wp-file-manger_exploit, w4fz5uck5/wp-file-manager-0day
- Evidence
- BLY-Coder/Python-exploit-CVE-2020-25213/exploit.py:50 HackfutSecRoot/wordpress-auto-upload-shell/wpfm_exploit.py:248 HackfutSecRoot/wordpress-auto-upload-shell/wpfm_exploit.py:289 electronforce/py2to3/CVE-2020-25213.py:54 rigby721/CEV-2020-25213_wp-file-manger_exploit/wp_filemangaer_rce.py:40 w4fz5uck5/wp-file-manager-0day/elFinder.py:11
GET /wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php
- Key headers
Accept: */*Expect: 100-continue- Content-Type
multipart/form-data; boundary=------------------------66e3ca93281c7050- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36curl/7.68.0- Seen in
- 4 repos: HackfutSecRoot/wordpress-auto-upload-shell, electronforce/py2to3, rigby721/CEV-2020-25213_wp-file-manger_exploit, w4fz5uck5/wp-file-manager-0day
- Evidence
- HackfutSecRoot/wordpress-auto-upload-shell/wpfm_exploit.py:183 HackfutSecRoot/wordpress-auto-upload-shell/wpfm_exploit.py:222 electronforce/py2to3/CVE-2020-25213.py:43 rigby721/CEV-2020-25213_wp-file-manger_exploit/wp_filemangaer_rce.py:23 w4fz5uck5/wp-file-manager-0day/elFinder.py:19
GET /wp-content/plugins/wp-file-manager/readme.txt
GET /shell.php
- Query
c=- Seen in
- 1 repo: electronforce/py2to3
- Evidence
- electronforce/py2to3/CVE-2018-17057.py:190 electronforce/py2to3/CVE-2018-17057.py:197
GET /wp-content/plugins/wp-file-manager/lib/files/shell.php
- Query
cmd=- Seen in
- 1 repo: rigby721/CEV-2020-25213_wp-file-manger_exploit
- Evidence
- rigby721/CEV-2020-25213_wp-file-manger_exploit/wp_filemangaer_rce.py:55
GET /wp-content/plugins/wp-file-manager/lib/files/{var}
- Key headers
Accept: */*- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36- Seen in
- 1 repo: electronforce/py2to3
- Evidence
- electronforce/py2to3/CVE-2020-25213.py:66
GET /wp-content/plugins/wp-file-manager/lib/php/../files/shell.php
- Query
cmd=- Seen in
- 1 repo: BLY-Coder/Python-exploit-CVE-2020-25213
- Evidence
- BLY-Coder/Python-exploit-CVE-2020-25213/exploit.py:28
POST //wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php
- Body markers
reqid=17457a1fe6959cmd=uploadtarget=l1_Lwmtime[]=1512625536upload[]=@//inmultipart/form-data- Ports
- 8080
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36- Seen in
- 1 repo: 0000000O0Oo/Wordpress-CVE-2020-25213
- Evidence
- 0000000O0Oo/Wordpress-CVE-2020-25213/PoC.txt:1
POST /wp-content/plugins/wp-file-manager/readme.txt
- Body markers
reqid=17457a1fe6959cmd=uploadtarget=l1_Lwmtime[]=1576045135inapplication/x-www-form-urlencoded- Seen in
- 1 repo: E1tex/Python-CVE-2020-25213
- Evidence
- E1tex/Python-CVE-2020-25213/exploit.py:84
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-content/plugins/wp-file-manager/lib/php/connector\.minimal\.php(?:[?#].*)?$
(?i)^/wp-content/plugins/wp-file-manager/lib/php/connector\.minimal\.php(?:[?#].*)?$
(?i)^/wp-content/plugins/wp-file-manager/readme\.txt(?:[?#].*)?$
(?i)^/shell\.php\?(?:.*&)?c=
(?i)^/wp-content/plugins/wp-file-manager/lib/files/shell\.php\?(?:.*&)?cmd=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-25213 WordPress File Manager Plugin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.9"; nocase; http.header; content:"Expect: 100-continue"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"------WebKitFormBoundaryvToPIGAB0m9SB1Ww Content-Disposition: form-data|3b| name=|22|cmd|22| upload ------WebKitFormBoundary"; http.request_body; content:"cmd=upload"; http.request_body; content:"target=l1_Lw"; http.request_body; content:"target=l1_"; http.request_body; content:"--------------------------66e3ca93281c7050 Content-Disposition: form-data|3b| name=|22|cmd|22| upload ----------------------"; reference:url,poc.griffinguard.io/cve/CVE-2020-25213; classtype:web-application-attack; sid:9315108; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-25213 WordPress File Manager Plugin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php"; http.header; content:"Accept: */*"; nocase; http.header; content:"Expect: 100-continue"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2020-25213; classtype:web-application-attack; sid:9202222; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-25213 WordPress File Manager Plugin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/wp-file-manager/readme.txt"; reference:url,poc.griffinguard.io/cve/CVE-2020-25213; classtype:web-application-attack; sid:9451039; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-25213 WordPress File Manager Plugin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/shell.php"; http.uri; content:"c="; reference:url,poc.griffinguard.io/cve/CVE-2020-25213; classtype:web-application-attack; sid:9552849; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-25213 WordPress File Manager Plugin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/wp-file-manager/lib/files/shell.php"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2020-25213; classtype:web-application-attack; sid:9258817; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: WordPress File Manager Plugin exploit attempt (CVE-2020-25213)
id: gg-pocmon-cve-2020-25213-9315108
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-25213. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-25213
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.25213
title: WordPress File Manager Plugin exploit attempt (CVE-2020-25213)
id: gg-pocmon-cve-2020-25213-9202222
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-25213. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-25213
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.25213
title: WordPress File Manager Plugin exploit attempt (CVE-2020-25213)
id: gg-pocmon-cve-2020-25213-9451039
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-25213. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-25213
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/plugins/wp-file-manager/readme.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.25213
title: WordPress File Manager Plugin exploit attempt (CVE-2020-25213)
id: gg-pocmon-cve-2020-25213-9552849
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-25213. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-25213
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/shell.php'
cs-uri-query|contains|all:
- 'c='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.25213
title: WordPress File Manager Plugin exploit attempt (CVE-2020-25213)
id: gg-pocmon-cve-2020-25213-9258817
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-25213. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-25213
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/plugins/wp-file-manager/lib/files/shell.php'
cs-uri-query|contains|all:
- 'cmd='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.25213