Description
A Remote Code Execution vulnerability exists in the gVectors wpDiscuz plugin 7.0 through 7.0.4 for WordPress, which allows unauthenticated users to upload any type of file, including PHP files via the wmuUploadFiles AJAX action.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
WordPress wpDiscuz Unauthenticated File Upload Vulnerability
exploit/unix/webapp/wp_wpdiscuz_unauthenticated_file_upload
Exploit-DB 2
- WordPress Plugin wpDiscuz 7.0.4 - Remote Code Execution (Unauthenticated) EDB-49967 · webapps · Jun 8, 2021
- Wordpress Plugin wpDiscuz 7.0.4 - Arbitrary File Upload (Unauthenticated) EDB-49962 · webapps · Jun 7, 2021
GitHub 8 repositories
-
hev0x/CVE-2020-24186-wpDiscuz-7.0.4-RCE ★ 19 · Jun 13, 2021
wpDiscuz 7.0.4 Remote Code Execution
-
substing/CVE-2020-24186_reverse_shell_upload ★ 14 · Dec 21, 2023
-
Sakura-501/CVE-2020-24186-exploit ★ 3 · Apr 5, 2022
CVE-2020-24186的攻击脚本
-
SimonL01/wpdiscuz-cve-2020-24186 ★ 0 · Nov 11, 2026
roof-of-concept exploit for CVE-2020-24186, an unauthenticated arbitrary file upload in the WordPress plugin Comments - wpDiscuz (slug wpdiscuz, vendor gVectors) versions 7.0.0 - 7.0.4, leading to re…
-
kiyingiericmark-wq/CVE-2020-24186 ★ 0 · Sep 29, 2026
-
sec-dojo-com/CVE-2020-24186 ★ 0 · Nov 29, 2025
-
GazettEl/CVE-2020-24186 ★ 0 · Mar 5, 2025
-
meicookies/CVE-2020-24186 ★ 0 · Aug 13, 2021
WpDiscuz 7.0.4 Arbitrary File Upload Exploit
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- WordPress wpDiscuz <=7.0.4 - Remote Code Execution http/cves/2020/CVE-2020-24186.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://www.wordfence.com/blog/2020/07/critical-arbitrary-file-upload-vulnerability-patched-in-wpdiscuz-plugin/
- http://packetstormsecurity.com/files/162983/WordPress-wpDiscuz-7.0.4-Shell-Upload.html
- http://packetstormsecurity.com/files/163012/WordPress-wpDiscuz-7.0.4-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/163302/WordPress-wpDiscuz-7.0.4-Shell-Upload.html