{"id":"CVE-2017-12615","kind":"vulnerability","aliases":["CVE-2017-12615"],"related":[],"title":"Apache Tomcat: Apache Tomcat on Windows Remote Code Execution Vulnerability","description":"When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default 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.","summary":"Apache Tomcat on Windows with HTTP PUT enabled accepts a crafted PUT request that uploads a JSP file to the server. Requesting that JSP then runs whatever code it contains on the server.","severity":"high","cvss":8.1,"epss":0.99641,"exploited":true,"exploited_at":"2022-03-25T00:00:00+00:00","products":[{"name":"Apache Tomcat","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","ransomware","runtime","self-hosted","tomcat","windows"],"not_affected_if":["linux-only-hosts","put-disabled","readonly-default-servlet"],"how_to_check":"Confirm the host runs Tomcat on Windows and check conf/web.xml for the default servlet's readonly setting and whether readonly is set to false; a PUT to a test path returning 201 or 204 means exposure.","fix":"Upgrade Apache Tomcat to a fixed release listed by Apache for CVE-2017-12615 (the sources do not list exact versions); set readonly to true on the default servlet or disable PUT.","status":"open","published_at":"2017-09-19T13:29:00+00:00","first_seen_at":"2026-10-23T19:11:52+00:00","triaged_at":"2026-10-23T21:21:48+00:00","updated_at":"2026-10-23T21:57:35+00:00","category":"runtime","confidence":0.8,"triage":{"at":"2026-10-23T21:21:48Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade Apache Tomcat to a fixed release listed by Apache for CVE-2017-12615 (the sources do not list exact versions); set readonly to true on the default servlet or disable PUT.","reach":"internet","impact":"high","summary":"Apache Tomcat on Windows with HTTP PUT enabled accepts a crafted PUT request that uploads a JSP file to the server. Requesting that JSP then runs whatever code it contains on the server.","category":"runtime","who_cares":["tomcat","windows","self-hosted"],"confidence":0.8,"needs_auth":"no","worst_case":"Attacker uploads a JSP and runs arbitrary code on the server","analyst_note":"Exact affected and fixed Tomcat versions and the readonly default for the PUT setting are not in the sources; check the Apache Tomcat security advisory for CVE-2017-12615.","how_to_check":"Confirm the host runs Tomcat on Windows and check conf/web.xml for the default servlet's readonly setting and whether readonly is set to false; a PUT to a test path returning 201 or 204 means exposure.","needs_analyst":true,"not_affected_if":["linux-only-hosts","readonly-default-servlet","put-disabled"],"user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000519,"input_tokens":2861,"output_tokens":466,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-12615':13A,16A '-2017':12A,15A '7.0.0':64C '7.0.79':66C 'accept':35B 'apach':1A,3A,27B,62C 'apache':17A 'code':8A,54B,109C 'contain':56B,111C 'could':103C 'craft':37B,99C 'cve':11A,14A 'default':82C 'e.g':73C 'enabl':34B,72C 'execut':9A,114C 'exploit':19B 'fals':84C 'file':44B,92C 'host':24B 'http':32B,70C 'initialis':78C 'jsp':43B,50B,91C,102C 'paramet':79C 'possibl':87C 'put':33B,38B,71C 'ransomwar':20B 'readon':77C 'remot':7A 'request':39B,48B,100C,106C 'run':52B,61C 'runtim':21B 'self':23B 'self-host':22B 'server':47B,59B,95C,117C 'set':75C 'special':98C 'tomcat':2A,4A,18A,25B,28B,63C 'upload':41B,89C 'via':74C,96C 'vulner':10A 'whatev':53B 'window':6A,26B,30B,68C 'would':112C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2017-09-19T13:29:00+00:00","kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Known"},"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2017-12615","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2017-12615","severity":null,"published_at":"2022-03-25T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:52+00:00","fetched_at":"2026-10-25T10:39:07+00:00","note":null},{"source":"epss","external_id":"CVE-2017-12615","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-12615","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:45+00:00","fetched_at":"2026-10-23T19:13:45+00:00","note":null},{"source":"nvd","external_id":"CVE-2017-12615","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12615","severity":null,"published_at":"2017-09-19T13:29:00+00:00","modified_at":"2026-08-06T05:16:34+00:00","first_seen_at":"2026-10-23T21:57:35+00:00","fetched_at":"2026-10-23T21:57:35+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}