{
  "id": "CVE-2017-12617",
  "url": "https://poc.griffinguard.io/cve/CVE-2017-12617",
  "published_at": "2017-10-03T15:00:00Z",
  "title": "Apache Tomcat Remote Code Execution Vulnerability",
  "vendor": "Apache Software Foundation",
  "product": "Apache Tomcat",
  "cvss": {
    "score": 8.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:H/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": "Unknown",
    "days_after_publication": 1634
  },
  "first_poc": {
    "created_at": "2017-10-05T23:41:52Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 2.4,
    "repo": "cyberheartmi9/CVE-2017-12617",
    "source": "github"
  },
  "poc_repo_count": 13,
  "exploit_count": 4,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.",
  "cwe": "CWE-434",
  "cvss_by_source": {
    "cisa-adp": 8.1
  },
  "repos": [
    {
      "repo": "K3ysTr0K3R/CVE-2017-12617-EXPLOIT",
      "url": "https://github.com/K3ysTr0K3R/CVE-2017-12617-EXPLOIT",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "cyberheartmi9/CVE-2017-12617",
      "url": "https://github.com/cyberheartmi9/CVE-2017-12617",
      "created_at": "2017-10-05T23:41:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 401,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-05-12T17:32:22Z"
    },
    {
      "repo": "zi0Black/POC-CVE-2017-12615-or-CVE-2017-12717",
      "url": "https://github.com/zi0Black/POC-CVE-2017-12615-or-CVE-2017-12717",
      "created_at": "2017-10-06T22:04:23Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-07-17T12:03:32Z"
    },
    {
      "repo": "devcoinfet/CVE-2017-12617",
      "url": "https://github.com/devcoinfet/CVE-2017-12617",
      "created_at": "2018-02-09T01:02:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-12-22T00:32:55Z"
    },
    {
      "repo": "qiantu88/CVE-2017-12617",
      "url": "https://github.com/qiantu88/CVE-2017-12617",
      "created_at": "2018-12-19T10:26:33Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-01-15T10:50:20Z"
    },
    {
      "repo": "ygouzerh/CVE-2017-12617",
      "url": "https://github.com/ygouzerh/CVE-2017-12617",
      "created_at": "2019-01-14T20:58:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-11-16T14:31:51Z"
    },
    {
      "repo": "Kaizhe/attacker",
      "url": "https://github.com/Kaizhe/attacker",
      "created_at": "2019-10-02T21:19:59Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2011-03-20T22:25:48Z"
    },
    {
      "repo": "scxiaotan1/Docker",
      "url": "https://github.com/scxiaotan1/Docker",
      "created_at": "2020-04-17T02:51:07Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-02-28T03:02:02Z"
    },
    {
      "repo": "tyranteye666/tomcat-cve-2017-12617",
      "url": "https://github.com/tyranteye666/tomcat-cve-2017-12617",
      "created_at": "2021-02-04T04:28:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-08-10T22:59:08Z"
    },
    {
      "repo": "jptr218/tc_hack",
      "url": "https://github.com/jptr218/tc_hack",
      "created_at": "2021-07-27T13:06:16Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 75,
      "suspicious": true,
      "suspicion_reasons": [
        "contains executables (tchack.exe)",
        "README asks to download a release/binary/archive"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-05-12T16:29:49Z"
    },
    {
      "repo": "3ndG4me/ghostcat",
      "url": "https://github.com/3ndG4me/ghostcat",
      "created_at": "2021-08-16T20:15:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-09-18T00:02:13Z"
    },
    {
      "repo": "LongWayHomie/CVE-2017-12617",
      "url": "https://github.com/LongWayHomie/CVE-2017-12617",
      "created_at": "2021-12-10T22:21:07Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-04-06T08:07:51Z"
    },
    {
      "repo": "scirusvulgaris/CVE-2017-12617",
      "url": "https://github.com/scirusvulgaris/CVE-2017-12617",
      "created_at": "2024-06-28T08:33:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-09-13T09:56:13Z"
    },
    {
      "repo": "yZ1337/CVE-2017-12617",
      "url": "https://github.com/yZ1337/CVE-2017-12617",
      "created_at": "2024-07-04T07:23:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-10-04T17:10:01Z"
    },
    {
      "repo": "yZee00/CVE-2017-12617",
      "url": "https://github.com/yZee00/CVE-2017-12617",
      "created_at": "2024-07-04T07:23:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-10-04T17:10:01Z"
    },
    {
      "repo": "yZeetje/CVE-2017-12617",
      "url": "https://github.com/yZeetje/CVE-2017-12617",
      "created_at": "2024-07-04T07:23:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-10-04T17:10:01Z"
    },
    {
      "repo": "DevaDJ/CVE-2017-12617",
      "url": "https://github.com/DevaDJ/CVE-2017-12617",
      "created_at": "2024-12-13T11:22:38Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-10-19T19:27:49Z"
    },
    {
      "repo": "lem0n817/CVE-2017-12617-POC",
      "url": "https://github.com/lem0n817/CVE-2017-12617-POC",
      "created_at": "2026-09-04T03:48:40Z",
      "first_seen_at": "2026-11-15T03:24:29.718Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2024-06-13T07:08:23Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 9.0.0.M1, \u003c 9.0.1"
        ],
        "fixed_in": [
          "9.0.1"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-xjgh-84hx-56c5"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 8.5.0, \u003c 8.5.23"
        ],
        "fixed_in": [
          "8.5.23"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-xjgh-84hx-56c5"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 8.0.0-RC1, \u003c 8.0.47"
        ],
        "fixed_in": [
          "8.0.47"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-xjgh-84hx-56c5"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.0.82"
        ],
        "fixed_in": [
          "7.0.82"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-xjgh-84hx-56c5"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 9.0.0.M1, \u003c 9.0.1"
        ],
        "fixed_in": [
          "9.0.1"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-xjgh-84hx-56c5"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 8.5.0, \u003c 8.5.23"
        ],
        "fixed_in": [
          "8.5.23"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-xjgh-84hx-56c5"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 8.0.0-RC1, \u003c 8.0.47"
        ],
        "fixed_in": [
          "8.0.47"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-xjgh-84hx-56c5"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.0.82"
        ],
        "fixed_in": [
          "7.0.82"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-xjgh-84hx-56c5"
      }
    ],
    "upgrade": [
      "Upgrade org.apache.tomcat:tomcat-catalina to 9.0.1 or later.",
      "Upgrade org.apache.tomcat:tomcat-catalina to 8.5.23 or later.",
      "Upgrade org.apache.tomcat:tomcat-catalina to 8.0.47 or later.",
      "Upgrade org.apache.tomcat:tomcat-catalina to 7.0.82 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 9.0.1 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 8.5.23 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 8.0.47 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 7.0.82 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/42966/",
      "source": "cvelist",
      "title": "42966",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/43008/",
      "source": "cvelist",
      "title": "43008",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/42966",
      "source": "exploitdb",
      "title": "Apache Tomcat \u003c 9.0.1 (Beta) / \u003c 8.5.23 / \u003c 8.0.47 / \u003c 7.0.8 - JSP Upload Bypass / Remote Code Execution (2)",
      "published_at": "2017-10-09T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/43008",
      "source": "exploitdb",
      "title": "Tomcat - Remote Code Execution via JSP Upload Bypass (Metasploit)",
      "published_at": "2017-10-17T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/tomcat_jsp_upload_bypass.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Tomcat RCE via JSP Upload Bypass (exploit/multi/http/tomcat_jsp_upload_bypass)",
      "published_at": "2017-10-09T01:48:47Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12617.yaml",
      "source": "nuclei",
      "title": "nuclei template: Apache Tomcat - Remote Code Execution",
      "published_at": "2023-06-15T08:45:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/{var}",
      "query_markers": [
        "cmd="
      ],
      "user_agents": [
        "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36"
      ],
      "protocol": "http",
      "repos": [
        "DevaDJ/CVE-2017-12617",
        "cyberheartmi9/CVE-2017-12617",
        "qiantu88/CVE-2017-12617",
        "scirusvulgaris/CVE-2017-12617",
        "scxiaotan1/Docker",
        "tyranteye666/tomcat-cve-2017-12617",
        "yZ1337/CVE-2017-12617",
        "yZee00/CVE-2017-12617",
        "yZeetje/CVE-2017-12617"
      ],
      "repo_count": 9,
      "confidence": 0.7,
      "evidence": [
        "DevaDJ/CVE-2017-12617/CVE-2017-12617.py:44",
        "DevaDJ/CVE-2017-12617/CVE-2017-12617.py:88",
        "cyberheartmi9/CVE-2017-12617/tomcat-cve-2017-12617.py:65",
        "cyberheartmi9/CVE-2017-12617/tomcat-cve-2017-12617.py:115",
        "qiantu88/CVE-2017-12617/tomcat-cve-2017-12617.py:65",
        "qiantu88/CVE-2017-12617/tomcat-cve-2017-12617.py:115",
        "scirusvulgaris/CVE-2017-12617/tomcat-cve-2017-12617.py:55",
        "scirusvulgaris/CVE-2017-12617/tomcat-cve-2017-12617.py:103",
        "scxiaotan1/Docker/CVE-2017-12617/tomcat-cve-2017-12617.py:65",
        "scxiaotan1/Docker/CVE-2017-12617/tomcat-cve-2017-12617.py:115",
        "tyranteye666/tomcat-cve-2017-12617/tomcat-jsp.py:50",
        "tyranteye666/tomcat-cve-2017-12617/tomcat-jsp.py:97",
        "yZ1337/CVE-2017-12617/CVE-2017-12617.py:43",
        "yZ1337/CVE-2017-12617/CVE-2017-12617.py:86",
        "yZee00/CVE-2017-12617/CVE-2017-12617.py:43",
        "yZee00/CVE-2017-12617/CVE-2017-12617.py:86",
        "yZeetje/CVE-2017-12617/CVE-2017-12617.py:43",
        "yZeetje/CVE-2017-12617/CVE-2017-12617.py:86"
      ]
    },
    {
      "method": "GET",
      "path_template": "/solr/te1/config",
      "body_markers": [
        "Host: 172.17.0.3:8983"
      ],
      "protocol": "http",
      "repos": [
        "scxiaotan1/Docker"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "scxiaotan1/Docker/CVE-2019-0193/README.md:18"
      ]
    },
    {
      "method": "GET",
      "path_template": "/revshell.jsp",
      "protocol": "http",
      "repos": [
        "LongWayHomie/CVE-2017-12617"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "LongWayHomie/CVE-2017-12617/CVE-2017-12617.py:123"
      ]
    },
    {
      "method": "PUT",
      "path_template": "//revshell.jsp/",
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
        },
        {
          "name": "Accept-Language",
          "value": "de,en-US;q=0.7,en;q=0.3"
        },
        {
          "name": "Cache-Control",
          "value": "max-age=0"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "content_type": "text/html;charset=UTF8",
      "user_agents": [
        "Mozarella/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0"
      ],
      "protocol": "http",
      "repos": [
        "LongWayHomie/CVE-2017-12617"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "LongWayHomie/CVE-2017-12617/CVE-2017-12617.py:107"
      ]
    },
    {
      "method": "PUT",
      "path_template": "/web_shell.jsp/",
      "body_markers": [
        "@-="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "ygouzerh/CVE-2017-12617"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "ygouzerh/CVE-2017-12617/attack.sh:2"
      ]
    }
  ],
  "rules": []
}
