CVE-2017-12617
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedWhen 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceApache Tomcat allows remote code execution via JSP file upload when HTTP PUT requests are enabled. Specifically, when the Default servlet's 'readonly' parameter is set to false, an attacker can upload a malicious JSP file through a specially crafted PUT request and then execute it by requesting the uploaded file.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 7.0.0, < 7.0.82>= 8.0, < 8.0.47>= 8.5.0, < 8.5.23>= 9.0.0, < 9.0.1= 12.04= 16.04= 17.10= 18.04= 7.0= 1.0= 6.0.0= 6.4.0= 2.0.0= 3.0.0all versions= 6.0= 7.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Apache Tomcat versionLocate the Tomcat installation directory. Check the RELEASE-NOTES file, or run 'catalina.sh version', or look for a VERSION file in the Tomcat home directory. Alternatively, check the Server header in HTTP responses or the server.info entry in conf/catalina.properties.Affected if The version is 7.0.0-7.0.81, 8.0.0-8.0.46, 8.5.0-8.5.22, or 9.0.0-9.0.0 (any version before 7.0.82, 8.0.47, 8.5.23, or 9.0.1).
-
Locate the Default servlet configurationFind the conf/web.xml file in the Tomcat installation. Alternatively, check the application's own web.xml if the Default servlet is overridden. Look for a <servlet> element with <servlet-name>default</servlet-name>.Affected if The Default servlet configuration exists in the examined web.xml file.
-
Check the readonly parameter in the Default servletIn the Default servlet configuration, look for an <init-param> with <param-name>readonly</param-name>. If found, check its <param-value>. If the parameter is absent, the default is true (not vulnerable).Affected if The readonly parameter is explicitly set to false (case-insensitive), enabling HTTP PUT and DELETE methods.
-
Verify the JSP servlet is enabledIn conf/web.xml, locate the JSP servlet configuration (jsp and jsp servlet definitions). Confirm the servlet mappings for *.jsp and *.jspx are active.Affected if The JSP servlet is mapped and enabled, allowing uploaded JSP files to be executed.
The environment is affected if Tomcat is a vulnerable version AND the Default servlet has readonly=false, allowing arbitrary JSP file upload and remote code execution.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped7.0.828.0.478.5.23
Disable HTTP PUT functionality by ensuring the Default servlet's 'readonly' parameter remains at its default value of true, or upgrade to patched Tomcat versions (7.0.82+, 8.0.47+, 8.5.23+, 9.0.1+).
Tomcat 7.0.82 / 8.0.47 / 8.5.23 / 9.0.1 (or later respective versions)
- Identify the currently installed Apache Tomcat version by checking the server logs or tomcat-version.jar
- Stop the Tomcat service before making any changes
- Download the appropriate fixed Tomcat version: 7.0.82+, 8.0.47+, 8.5.23+, or 9.0.1+ from the official Apache Tomcat site (tomcat.apache.org)
- Back up the current Tomcat installation directory (conf, webapps, and any custom deployments)
- Extract the new Tomcat version to the target installation directory
- Restore the backed-up configuration files (server.xml, context.xml, etc.)
- Re-deploy any custom web applications from the backup
- Start the Tomcat service and verify it starts without errors
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,752.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2017-12617 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- www.oracle.com
- www.exploit-db.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- www.oracle.com
- www.securityfocus.com
- www.securitytracker.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- lists.debian.org
- security.netapp.com
- security.netapp.com
- support.f5.com
- support.hpe.com
- support.hpe.com
- usn.ubuntu.com
- www.exploit-db.com
- www.exploit-db.com
- lists.apache.org
- www.cisa.gov
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2017-12617 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data