Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2014-8739 — Scanner and proof-of-concept exploit for CVE-2014-8739, the unrestricted file upload in Creative Contact Form (Sexy Contact Form) that allows remote PHP code execution. | Kitploit
Tools/GitHubGitHub/jonathan1010/cve-2014-8739
Vulnerability ScannersWeb Vulnerability ScannersPayload GenerationExploitationWeb Application ExploitationPenetration Testing
GitHubjonathan1010/cve-2014-8739

CVE-2014-8739

Scanner and proof-of-concept exploit for CVE-2014-8739, the unrestricted file upload in Creative Contact Form (Sexy Contact Form) that allows remote PHP code execution.

View Repository
Dec 4, 2026Not yet reviewed

Related Tools

  • nuclei

    Fast YAML-based vulnerability scanner with template-driven detection engine for automated security testing across web apps, APIs, networks, DNS, and cloud infrastructure.

  • zaproxy

    Open-source web application security scanner for automated vulnerability detection, manual penetration testing, and API security testing with a proxy-based interception engine.

  • openvas-scanner

    This repository contains the scanner component for Greenbone Community Edition.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    721
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    535
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    419

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2014-8739

Creative Solutions Creative Contact Form (formerly Sexy Contact Form) <= 0.9.7 - Arbitrary File Upload

Metadata

fieldvalue
CVECVE-2014-8739
severitycritical
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), NVD primary, NVD published 2020-02-08; EPSS 0.91527 (0.99812 percentile), VKEV listed
fixed inCreative Contact Form for WordPress 1.0.0 (changelog 27/10/2014 "IMPORTANT: Fixed security bug!"); Creative Contact Form for Joomla! 2.0.1; the bundled jQuery File Upload Plugin PHP Class is 6.4.4
classunrestricted file upload leading to code execution (CWE-434)
scanner version1.0.0
python3.8+ stdlib only, no third-party deps

Exploit

If you want the exploit, find it here: https://satoshidisk.com/pay/CT5TH9

Summary

The free Creative Contact Form ships the stock blueimp upload endpoint at /wp-content/plugins/sexy-contact-form/includes/fileupload/index.php, which instantiates UploadHandler with 'accept_file_types' => '/.+$/i', i.e. no extension filter at all. A single multipart POST therefore writes any file verbatim into includes/fileupload/files/, and a direct GET of that path makes the PHP interpreter run it. The nuclei template proves both halves in two requests (max-request: 2, flow: http(1) && http(2)): the upload reply must answer 200, contain the words files and delete_url, carry text/plain, and the stored file must echo the random marker.

Full 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.

Vendor source of 0.9.7 (read directly from the released zip): includes/fileupload/index.php is the five-line "jQuery File Upload Plugin PHP Example 5.14" that only does require('UploadHandler.php') plus new UploadHandler(), and UploadHandler.php is "jQuery File Upload Plugin PHP Class 6.4.4". Its default options are 'param_name' => 'files', 'upload_dir' => dirname(SCRIPT_FILENAME).'/files/', 'upload_url' => script_url.'/files/', 'delete_type' => 'DELETE' and the permissive 'accept_file_types' => '/.+$/i', which is the root cause. handle_file_upload() calls move_uploaded_file() and then set_additional_file_properties(), which is where the two pinned words come from: delete_url (script_url + ?file= + name) and delete_type. send_content_type_header() answers application/json only when the request Accept value literally contains application/json, otherwise text/plain, which is why the template pins text/plain for a plain Accept: */*. Version 1.0.0 is the fix: both includes/fileupload/index.php and includes/fileupload/UploadHandler.php are trimmed to 0 bytes in the released archive, so the standalone handler disappears and both probes stop matching.

Detection model

  • Two requests per target, in template order, no early stop before the pair: request 1 is the multipart POST to the upload script, request 2 the GET of the stored file; request 2 runs only when request 1 matched, mirroring flow: http(1) && http(2) with max-request: 2.
  • Request 1 is POST /wp-content/plugins/sexy-contact-form/includes/fileupload/index.php with Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW and one part name="files[]"; filename="{fname}.php", Content-Type: application/octet-stream, holding <?php echo "{marker}"; ?>.
  • Request 1 matchers, ANDed exactly as in the YAML: status_code == 200, contains_all(body, "files","delete_url"), contains(content_type, "text/plain").
  • fname is a 6-char lowercase-hex name and marker an 8-char lowercase-hex string, standing in for {{rand_base(6)}} and {{randstr}}; the marker is the only word matcher of request 2, GET /wp-content/plugins/sexy-contact-form/includes/fileupload/files/{fname}.php.
  • Verdict is true only when both stages match, so a 200-with-JSON alone is not enough and a reflected-but-unexecuted body alone is not enough either.
  • fetch()/post_multipart() return (text, status, content_type, reason), read the body of HTTPError too, retry twice with linear backoff (0.2s/0.4s) and a 30s timeout; bodies decode with errors="replace".
  • No Accept: application/json is sent on purpose: the handler would then switch to Content-type: application/json and the pinned matcher would miss. Scheme-less tagger hosts get http://; a 12-char md5 token fingerprints each row.

Usage

# scanner: streamed CSV + optional JSON sidecar
python scanner/CVE-2014-8739/scanner.py urls.txt 8 CVE-2014-8739.csv --json CVE-2014-8739.json

# exploit: result dict + optional CSV/JSON dumps
python exploit/CVE-2014-8739/exploit.py http://target:80 --csv CVE-2014-8739.csv --json CVE-2014-8739.json --verbose

urls.txt is a plain file, one target per line, # for comments.

Example scanner output

[*] Creative Contact Form (Sexy Contact Form) CVE-2014-8739 unrestricted file upload scanner
 scanner : CVE-2014-8739 v1.0.0
 threads : 2 | csv: .scratch/scf/scan.csv | json: .scratch/scf/scan.json
[*] Creative Contact Form (Sexy Contact Form) CVE-2014-8739 unrestricted file upload scanner
[2026-12-03 13:08:05] loaded 1 target(s) from .scratch/scf/urls.txt
[2026-12-03 13:08:05] [1/1] http://127.0.0.1:8140 -> VULNERABLE
[2026-12-03 13:08:05] json sidecar saved: .scratch/scf/scan.json
[2026-12-03 13:08:05] summary: total=1 vulnerable=1 not-vuln=0 errors=0
[2026-12-03 13:08:05] timing : avg=7ms max=7ms wall=0.01s
[2026-12-03 13:08:05] report saved: .scratch/scf/scan.csv

The two-request pair is answered by the real handler shape: request 1 yields {"files": [{"name": "47c8ae.php", "size": 25, "type": "application/octet-stream", "url": ".../includes/fileupload/files/47c8ae.php", "delete_url": ".../includes/fileupload/index.php?file=47c8ae.php", "delete_type": "DELETE"}]} with Content-Type: text/plain, and request 2 yields the bare marker b05118a4. On a 1.0.0 install both requests return the 0-byte files, the word matcher fails and the row stays not-vuln.

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided
statusok (at least one probe got a real HTTP answer) / error (no transport answer from any probe)
vulnerableverdict
elapsed_msper-target timing
token12-char md5 over the row details
result_b64base64(JSON) full details

Files

  • scanner.py - detection only, stdlib, streamed CSV + JSON sidecar.
  • README.md - this file.
  • DESCRIPTION.md - deeper technical notes.
  • ../../exploit/CVE-2014-8739/exploit.py - two-request POC.

Exit codes

codemeaning
0at least one target produced a real HTTP answer (vulnerable or not)
2no target produced any transport answer, or the URL list was empty
Download Tool