CriticalCVE-2017-12615

    Apache Tomcat on Windows Remote Code Execution Vulnerability (CVE-2017-12615)

    Published Last modified In CISA KEV since Sources: OSV, CVE.org

    What is affected, what to do

    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.

    The vulnerability is being actively exploited; treat it as a priority. CISA lists it as used in ransomware campaigns. The available sources name no fixed version. Check the vendor guidance in the references below. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • Apache Tomcat eq 7.0.0 to 7.0.79..7.0.0 to 7.0.79

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    8.1

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    8.1

    CVSS v3

    Severity High on the scale from 0 to 10.

    Source: OSV, CVE.org

    99.71 %

    EPSS score

    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.

    Source: FIRST EPSS, percentile 99.95

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    245.42 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploited
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    8.1 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    8.1
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    99.71 %
    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    99.95
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary

    Response and mitigation

    Why act now?

    Prioritisation rationale

    This CVE is on KEV because exploitation is trivial (a single unauthenticated HTTP PUT), publicly documented, and widely used by mass scanners and ransomware pre-staging operations — CISA explicitly flags ransomware use. The attack vector is network-reachable without authentication and yields direct RCE in the Tomcat service context, and the exploitation likelihood is among the highest observed on the KEV list. For NIS2-regulated operators, any internet-exposed, unpatched Tomcat 7 instance on Windows must be treated as Critical with a 24 h remediation SLA; internal instances behind authenticated perimeters warrant High priority given documented lateral-movement use by intruders.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Inventory all Apache Tomcat instances on Windows (7.0.0 to 7.0.79). Upgrade immediately to 7.0.81 or later — 7.0.80 was withdrawn because its fix was incomplete.
      • If patching is not immediately possible, edit conf/web.xml, locate the DefaultServlet and ensure readonly is explicitly true (or remove the parameter, since true is the default). Restart Tomcat afterwards.
      • Block HTTP methods PUT, DELETE, OPTIONS, TRACE at the upstream reverse proxy (IIS, Apache httpd, nginx, load balancer); allow only GET, POST, HEAD.
      • Audit the webroot (webapps/) for unexpected .jsp, .jspx, .jsw, .jsv, .war files, especially recently modified ones or anything dropped into ROOT/. Preserve suspicious artefacts for forensics before removal.
      • Run the Tomcat process under a dedicated, non-privileged service account; if it currently runs as LocalSystem or Administrator, migrate it to a least-privilege account with minimal NTFS rights.
      • Rotate any credentials reachable from the Tomcat process context (DB connection strings in context.xml, keystore passwords, Kerberos service-account tickets).
    2. Runbook step 2

      Mitigation layers

      • Network: isolate management and admin connectors (default 8005, 8009 AJP, 8443) into a dedicated management VLAN; expose Tomcat (8080/8443) to the internet only through a WAF or reverse proxy that enforces an HTTP-method allowlist.
      • WAF/IPS: enable signatures for PUT requests carrying JSP payloads (ET Open Snort/Suricata rules for CVE-2017-12615 and the related CVE-2017-12617, e.g. SID 2024613, 2024614). Also block URI tricks such as trailing slash, null byte, ::$DATA, trailing space (/foo.jsp/, /foo.jsp%20).
      • Filesystem hardening: set NTFS ACLs on webapps/ so the Tomcat service account cannot write .jsp files (read + execute only). Use a separate deployment user for updates.
      • Configuration baseline: enforce readonly=true on both DefaultServlet and the WebDAV servlet in web.xml; monitor configuration drift with Ansible, Puppet or Windows DSC.
      • Least privilege: apply an AppLocker or WDAC policy that prevents the Tomcat service from spawning cmd.exe, powershell.exe, cscript.exe, wscript.exe, certutil.exe or bitsadmin.exe as child processes.
      • Egress filtering: restrict outbound traffic from the Tomcat host to defined destinations (DB, internal services); block arbitrary HTTP/HTTPS/DNS to the internet to defeat second-stage downloads and C2.
    3. Runbook step 3

      Detection rules

      • Web access logs (Tomcat localhost_access_log, IIS, reverse proxy): alert on any PUT request whose path ends in .jsp, .jspx, .jsw, .jsv or includes a trailing /, %20 or ::$DATA. Example KQL: W3CIISLog | where csMethod == "PUT" and csUriStem matches regex @"(?i)\.jsp[xw]?(/|%20|::\$DATA)?$".
      • Sysmon EID 11 (File Create) for paths under webapps\**\*.jsp with a parent process of Tomcat*.exe — in normal operation JSP deployment is performed by CI/CD pipelines, not by the Tomcat process itself.
      • Sysmon EID 1 (Process Create) where ParentImage is tomcat*.exe or java.exe in the Tomcat context and Image is cmd.exe, powershell.exe, whoami.exe, net.exe, ipconfig.exe, certutil.exe — the classic post-exploitation chain of a JSP webshell.
      • Zeek/Suricata: HTTP transaction with method PUT to a Tomcat host, followed within 60 seconds by a GET to the same URI returning HTTP 200, especially with a short or scripted user-agent (curl, python-requests, empty).
      • Sigma shape: logsource: webserver / detection: selection: cs-method: PUT; cs-uri-stem|endswith: ['.jsp','.jspx']; condition: selection — safe as a baseline rule, since legitimate PUT-based JSP uploads practically never occur.

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    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.

    Source: OSV (Open Source Vulnerabilities), CISA KEV Catalog, cvelistv5, NVD (NIST), CVE.org (MITRE)

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    Apache Software FoundationApache Tomcat
    • 7.0.0 to 7.0.79
    • —
    apachetomcat
    • 7.0.0 – ≤ 7.0.79
    • —
    netapp7-mode_transition_tool
    • —
    • —
    netapponcommand_balance
    • —
    • —
    netapponcommand_shift
    • —
    • —
    redhatenterprise_linux_server_update_services_for_sap_solutions
    • 7.6
    • 7.4
    • 7.7
    • —
    • —
    • —
    redhatjboss_enterprise_web_server
    • 2.0.0
    • 3.0.0
    • —
    • —
    redhatjboss_enterprise_web_server_text-only_advisories
    • —
    • —
    mavenorg.apache.tomcat.embed:tomcat-embed-core
    • 7.0.2
    • 7.0.25
    • 7.0.57
    • 7.0.50
    • 7.0.0
    • 7.0.6
    • 7.0.35
    • 7.0.68
    • 7.0.62
    • 7.0.56
    • 7.0.21
    • 7.0.72
    • 7.0.69
    • 7.0.27
    • 7.0.8
    • 7.0.59
    • 7.0.11
    • 7.0.76
    • 7.0.77
    • 7.0.63
    • 7.0.65
    • 7.0.39
    • 7.0.37
    • 7.0.52
    • 7.0.70
    • 7.0.67
    • 7.0.5
    • 7.0.14
    • 7.0.53
    • 7.0.29
    • 7.0.20
    • 7.0.22
    • 7.0.64
    • 7.0.16
    • 7.0.78
    • 7.0.23
    • 7.0.54
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —

    Vendors and products

    Affected operating systems

    Affected operating systems
    Linuxredhatenterprise_linux_desktop6.0
    Linuxredhatenterprise_linux_desktop7.0
    Linuxredhatenterprise_linux_eus7.4
    Linuxredhatenterprise_linux_eus7.5
    Linuxredhatenterprise_linux_eus7.6
    Linuxredhatenterprise_linux_eus7.7
    Linuxredhatenterprise_linux_eus_compute_node7.4
    Linuxredhatenterprise_linux_eus_compute_node7.5
    Linuxredhatenterprise_linux_eus_compute_node7.6
    Linuxredhatenterprise_linux_eus_compute_node7.7
    Linuxredhatenterprise_linux_for_ibm_z_systems7.0_s390x
    Linuxredhatenterprise_linux_for_ibm_z_systems_eus7.4_s390x
    Linuxredhatenterprise_linux_for_ibm_z_systems_eus7.5_s390x
    Linuxredhatenterprise_linux_for_ibm_z_systems_eus7.6_s390x
    Linuxredhatenterprise_linux_for_ibm_z_systems_eus7.7_s390x
    Linuxredhatenterprise_linux_for_power_big_endian7.0_ppc64
    Linuxredhatenterprise_linux_for_power_big_endian_eus7.4_ppc64
    Linuxredhatenterprise_linux_for_power_big_endian_eus7.5_ppc64
    Linuxredhatenterprise_linux_for_power_big_endian_eus7.6_ppc64
    Linuxredhatenterprise_linux_for_power_big_endian_eus7.7_ppc64
    Linuxredhatenterprise_linux_for_power_little_endian7.0_ppc64le
    Linuxredhatenterprise_linux_for_power_little_endian_eus7.4_ppc64le
    Linuxredhatenterprise_linux_for_power_little_endian_eus7.5_ppc64le
    Linuxredhatenterprise_linux_for_power_little_endian_eus7.6_ppc64le

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited
    GitHubbreaktoprotect/CVE-2017-12615 (opens in a new tab)github.comPoC (publicly reported)reported, not verified—
    Exploit-DBEDB-ID 42953 (opens in a new tab)exploit-db.comPoC (publicly reported)reported, not verified—
    PoC-in-GitHub (nomi-sec)apache-tomcat-security-audit (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)vulhub-tomcat-cve-2017-12615 (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)CVE-2017-12615 (opens in a new tab)github.comPoC (publicly reported)reported, not verified

    References & sources

    • NVD (NIST)vuln/detail/CVE-2017-12615advisory
    • synology.comsupport/security/Synology_SA_17_54_Tomcatweb, x_refsource_CONFIRM
    • exploit-db.comexploits/42953web
    • cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615web, government-resource
    • security.netapp.comadvisory/ntap-20171018-0001web
    • lists.apache.orgthread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cb…web
    • lists.apache.org[tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/web, Mailing list, x_refsource_MLIST
    • lists.apache.orgthread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc…web
    • lists.apache.org[announce] 20200131 Apache Software Foundation Security Report: 2019web, Mailing list, x_refsource_MLIST
    • lists.apache.orgthread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf…web
    • lists.apache.org[announce] 20170919 [SECURITY] CVE-2017-12615 Apache Tomcat Remote Code Execution via JSP uploadweb, Mailing list, x_refsource_MLIST
    • lists.apache.orgthread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c…web
    • lists.apache.org[tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/web, Mailing list, x_refsource_MLIST
    • lists.apache.orgthread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086…web
    • lists.apache.org[tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/web, Mailing list, x_refsource_MLIST
    • lists.apache.orgthread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb13145…web
    • lists.apache.org[tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/web, Mailing list, x_refsource_MLIST
    • github.combreaktoprotect/CVE-2017-12615web, x_refsource_MISC
    • GitHub Security Advisoriesadvisories/GHSA-pjfr-qf3p-3q25advisory
    • access.redhat.comRHSA-2018:0466web, Vendor advisory, x_refsource_REDHAT

    Changes to this CVE

    Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).

    1. Record modifiedCISA ADP

      CISA assessment (SSVC): exploitation: active, automatable: no

      Show the original change
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      SSVC assessmentchanged
      {"id":"CVE-2017-12615","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-08-05T19:49:07.087509Z"}
      {"id":"CVE-2017-12615","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2022-03-11T00:00:00+00:00"}

      Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0

    2. Record modifiedCISA ADP

      CISA assessment (SSVC): exploitation: active, automatable: no

      Show the original change
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      SSVC assessmentchanged
      {"id":"CVE-2017-12615","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"slow"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2022-03-11T00:00:00+00:00"}
      {"id":"CVE-2017-12615","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-08-05T19:49:07.087509Z"}

      Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2017-12615
    <a href="https://intel.neosec.eu/en/cve/CVE-2017-12615"><img src="https://intel.neosec.eu/badge/cve/CVE-2017-12615.svg?lang=en" alt="CVE-2017-12615 – NEOSEC Intel" height="20"></a>