{
  "Name": "Red Hat Jboss Enterprise Application Platform CVE-2017-12149 Remote Code Execution Vulnerability",
  "Description": "In Jboss Application Server as shipped with Red Hat Enterprise Application Platform 5.2, it was found that the doFilter method in the ReadOnlyAccessFilter of the HTTP Invoker does not restrict classes for which it performs deserialization and thus allowing an attacker to execute arbitrary code via crafted serialized data.",
  "Product": "",
  "Homepage": "",
  "DisclosureDate": "2017-10-04",
  "Author": "gp827782797@qq.com",
  "FofaQuery": "product=\"Jboss\"",
  "GobyQuery": "product=\"Jboss\"",
  "Level": "3",
  "Impact": "Redhat JBoss Enterprise Application Platform 5.0",
  "Recommendation": "",
  "References": null,
  "RealReferences": [
    "http://www.securityfocus.com/bid/100591",
    "https://access.redhat.com/errata/RHSA-2018:1607",
    "https://access.redhat.com/errata/RHSA-2018:1608",
    "https://bugzilla.redhat.com/show_bug.cgi?id=1486220",
    "https://github.com/gottburgm/Exploits/tree/master/CVE-2017-12149",
    "https://nvd.nist.gov/vuln/detail/CVE-2017-12149",
    "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12149"
  ],
  "HasExp": true,
  "ExpParams": [
    {
      "Name": "AttackType",
      "Type": "select",
      "Value": "goby_shell_linux,linux_cmd,win_cmd"
    },
	{
      "Name": "linux_cmd",
      "Type": "input",
	  "show": "AttackType=linux_cmd",
      "Value": "id"
    },
	{
      "Name": "win_cmd",
      "Type": "input",
	  "show": "",
      "Value": "whoami"
    }
  ],
  "ExpTips": {
    "Type": "",
    "Content": ""
  },
  "ScanSteps": [
    "AND",
    {
      "Request": {
        "data": "",
        "data_type": "text",
        "follow_redirect": true,
        "method": "GET",
        "uri": "/"
      },
      "ResponseTest": {
        "checks": [
          {
            "bz": "",
            "operation": "==",
            "type": "item",
            "value": "200",
            "variable": "$code"
          }
        ],
        "operation": "AND",
        "type": "group"
      }
    }
  ],
  "ExploitSteps": null,
  "Tags": null,
  "CVEIDs": [
    "CVE-2017-12149"
  ],
  "CVSSScore": "9.8",
  "AttackSurfaces": {
    "Application": null,
    "Support": null,
    "Service": ["Jboss"],
    "System": null,
    "Hardware": null
  },
  "Disable": false
}