CVE-2020-24186

CRITICAL NUCLEI

wpDiscuz 7.0-7.0.4 - Unauthenticated Remote Code Execution via File Upload

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 10 public exploits for CVE-2020-24186. PoCs published by Fellipe Oliveira, UnD3sc0n0c1d0, hev0x, including Metasploit module exploits/unix/webapp/wp_wpdiscuz_unauthenticated_file_upload. A Nuclei detection template is also available.

AI-analyzed exploit summary This exploit leverages an unauthenticated file upload vulnerability in WordPress Plugin wpDiscuz 7.0.4 to upload a PHP webshell, enabling remote code execution. It bypasses security checks by disguising the payload as an image file.

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.

Exploits (10)

exploitdb WORKING POC
by Fellipe Oliveira · pythonwebappsphp
https://www.exploit-db.com/exploits/49967

This exploit leverages an unauthenticated file upload vulnerability in WordPress Plugin wpDiscuz 7.0.4 to upload a PHP webshell, enabling remote code execution. It bypasses security checks by disguising the payload as an image file.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WordPress Plugin wpDiscuz 7.0.4
No auth needed
Prerequisites: Target must have wpDiscuz 7.0.4 installed · Target must have a blog post accessible
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC
by UnD3sc0n0c1d0 · bashwebappsphp
https://www.exploit-db.com/exploits/49962

This exploit leverages an unauthenticated arbitrary file upload vulnerability in WordPress plugin wpDiscuz 7.0.4. It uploads a PHP webshell disguised as an image file and provides interactive command execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WordPress wpDiscuz plugin 7.0.4
No auth needed
Prerequisites: Target must have wpDiscuz plugin version 7.0.4 installed · A valid post URL on the target WordPress site
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 19 stars
by hev0x · poc
https://github.com/hev0x/CVE-2020-24186-wpDiscuz-7.0.4-RCE

This is a functional exploit for CVE-2020-24186, targeting an unauthenticated file upload vulnerability in wpDiscuz 7.0.4. It uploads a PHP webshell and executes arbitrary commands via a crafted multipart request.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: wpDiscuz 7.0.4
No auth needed
Prerequisites: Target must have wpDiscuz 7.0.4 installed · AJAX endpoint must be accessible
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 13 stars
by substing · poc
https://github.com/substing/CVE-2020-24186_reverse_shell_upload

This exploit targets CVE-2020-24186, a file upload vulnerability in wpDiscuz 7.0.4, to upload a PHP reverse shell. It bypasses security checks by disguising the shell as an image file and leverages CSRF tokens for authentication.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: wpDiscuz 7.0.4
No auth needed
Prerequisites: Vulnerable wpDiscuz plugin installed · Network access to the target WordPress site
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 3 stars
by Sakura-501 · poc
https://github.com/Sakura-501/CVE-2020-24186-exploit

This is a functional exploit for CVE-2020-24186, targeting a file upload vulnerability in the WordPress plugin wpDiscuz 7.0.4. It bypasses security checks to upload a PHP webshell, enabling remote code execution via a crafted multipart form request.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WordPress Plugin wpDiscuz 7.0.4
No auth needed
Prerequisites: Target must have wpDiscuz 7.0.4 installed · A valid blog post path on the target WordPress site
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by wvverez · poc
https://github.com/wvverez/CVE-2020-24186

This repository contains a functional Python exploit for CVE-2020-24186, targeting a file upload vulnerability in WordPress plugin wpDiscuz 7.0.4. The exploit uploads a malicious PHP file disguised as an image, achieving remote code execution (RCE) via a webshell.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WordPress wpDiscuz plugin 7.0.4
No auth needed
Prerequisites: WordPress site with vulnerable wpDiscuz plugin installed · Access to the plugin's file upload endpoint
mistral-large-3 · analyzed Jun 25, 2026 Full analysis →
nomisec WORKING POC
by sec-dojo-com · poc
https://github.com/sec-dojo-com/CVE-2020-24186

This PoC exploits CVE-2020-24186, an arbitrary file upload vulnerability in WP-Discuz 7.0.4, by uploading a malicious PHP shell. It automates the process of checking for vulnerable targets, extracting necessary tokens, and uploading the shell.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WP-Discuz 7.0.4
No auth needed
Prerequisites: Target running WP-Discuz 7.0.4 · Access to the target's admin-ajax.php endpoint · Presence of at least one article on the target site
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by GazettEl · poc
https://github.com/GazettEl/CVE-2020-24186

This PoC exploits CVE-2020-24186, an arbitrary file upload vulnerability in WordPress plugins, to achieve remote code execution (RCE). It uploads a malicious PHP payload disguised as a GIF file and provides options for an interactive webshell or reverse shell.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WordPress with vulnerable plugin (e.g., WP File Manager)
No auth needed
Prerequisites: Target running vulnerable WordPress plugin · Network access to the target
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by meicookies · poc
https://github.com/meicookies/CVE-2020-24186

This PoC exploits CVE-2020-24186, a file upload vulnerability in a PHP application, allowing arbitrary file uploads leading to remote code execution. The `u.php` script demonstrates a simple file upload form that can be abused to upload malicious files.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Unknown PHP application (likely a web application with file upload functionality)
No auth needed
Prerequisites: Access to the vulnerable file upload endpoint
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Chloe Chamberland, Hoa Nguyen - SunCSR · rubypocphp
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/wp_wpdiscuz_unauthenticated_file_upload.rb

This Metasploit module exploits an unauthenticated arbitrary file upload vulnerability in the WordPress wpDiscuz plugin (versions 7.0.0 to 7.0.4). It uploads a malicious PHP file disguised as a GIF image to achieve remote code execution.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WordPress wpDiscuz plugin versions 7.0.0 to 7.0.4
No auth needed
Prerequisites: Target must have the vulnerable wpDiscuz plugin installed · Target must allow file uploads to the wp-content/uploads directory
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

WordPress wpDiscuz <=7.0.4 - Remote Code Execution
CRITICALby Ganofins

References (4)

Core 4

Scores

CVSS v3 10.0
EPSS 0.9454
EPSS Percentile 99.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Details

CWE
CWE-434
Status published
Products (1)
gvectors/wpdiscuz 7.0 - 7.0.4
Published Aug 24, 2020
Tracked Since Feb 18, 2026