Vulnerabilities

Vulnerability · CVE-2017-12617

Apache Tomcat Remote Code Execution Vulnerability

Published Oct 3, 2017 · catalog updated Aug 25, 2026 · Apache Tomcat

Patch now

CVE-2017-12617 is in the CISA known-exploited catalog, due Apr 15, 2022. Confirm Apache Tomcat against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Severity
High8.1
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
99.97%
Remediation
Remediation guidance
Affected products
cpe apache/tomcat · cpe canonical/ubuntu linux · cpe debian/debian linux · cpe netapp/active iq unified manager · cpe oracle/agile product lifecycle management · cpe redhat/fuse

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe apache/tomcatversion unspecified
  • cpe canonical/ubuntu linux12.04
  • cpe canonical/ubuntu linux16.04
  • cpe canonical/ubuntu linux17.10
  • cpe canonical/ubuntu linux18.04
  • cpe debian/debian linux7.0
  • cpe netapp/active iq unified managerversion unspecified
  • cpe oracle/agile product lifecycle management9.3.3
  • cpe redhat/fuse1.0
  • vendor Apache Tomcatversion unspecified

How to fix CVE-2017-12617

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2017-12617 is in the CISA known-exploited catalog, due Apr 15, 2022. Confirm Apache Tomcat against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Compare what you have installed with canonical/ubuntu linux 12.04; canonical/ubuntu linux 16.04; canonical/ubuntu linux 17.10; canonical/ubuntu linux 18.04. Apply updates per vendor instructions.

What should an analyst verify?

CWE-434: Unrestricted Upload of File with Dangerous Type. EPSS 99.97%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 3, 2017 · Catalog

    Detected

    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.

  2. Mar 25, 2022 · CISA KEV

    Known exploited

    Apply updates per vendor instructions.

  3. Apr 15, 2022 · CISA KEV

    Remediation due

    Apply updates per vendor instructions.

  4. Aug 25, 2026 · Catalog

    Updated

    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.

Sources

  • CISA KEVConfirmed exploitationCVE-2017-12617

    When running Apache Tomcat, it is 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.

    cisa.gov
  • CVE.orgVulnerability recordCVE-2017-12617

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2017-12617

    30-day exploitation probability 100.0%

    first.org
  • Exploit DatabasePublic exploit reference42966

    Public archive entry. The exploit body is not stored here.

    exploit-db.com
  • Exploit DatabasePublic exploit reference43008

    Public archive entry. The exploit body is not stored here.

    exploit-db.com
  • Metasploit ModulesPublic exploit moduleexploit_multi/http/tomcat_jsp_upload_bypass

    Public module reference (excellent). Module source is not copied into this catalog.

    rapid7.com
  • NIST NVDVulnerability recordCVE-2017-12617

    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

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2017-12617

    When running Apache Tomcat, it is 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.

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.