CVE-2017-12615
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 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.
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 7.0.0-7.0.79 on Windows with HTTP PUT enabled (readonly=false) allows remote attackers to upload malicious JSP files via specially crafted PUT requests. When these JSP files are subsequently requested, the server executes the embedded code, enabling full remote code execution.
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.79= 7.4= 7.6= 7.7= 2.0.0= 3.0.0all versions= 6.0= 7.0= 7.4= 7.5= 7.6= 7.7= 7.4= 7.5= 7.6= 7.7= 7.0_s390xCVSS 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 Tomcat versionCheck the version of Apache Tomcat by examining the serverinfo.properties file in the Tomcat lib directory, or by looking at the bootstrap.jar version, or checking the server startup logs for the version number.Affected if The installed version is between 7.0.00 and 7.0.79 inclusive.
-
Confirm operating systemDetermine the operating system where Tomcat is running. This can be done via system commands (uname, systeminfo, or checking environment variables) or by examining the file system paths used by Tomcat.Affected if Tomcat is running on Windows (the vulnerability only affects Windows deployments).
-
Check Default servlet readonly configurationExamine the conf/web.xml file in the Tomcat installation directory. Locate the Default servlet configuration section and inspect the <readonly> parameter within the <init-param> tags.Affected if The <readonly> parameter is set to false, enabling write operations (HTTP PUT and DELETE methods).
-
Verify if HTTP PUT method is reachableCheck if the servlet container allows PUT requests. This can be confirmed by reviewing the web.xml configuration and testing with a benign HTTP PUT request if authorized, or by reviewing any deployed application's web.xml for custom servlet configurations that may override the default.Affected if HTTP PUT method is permitted (readonly=false) and no additional security constraints block it.
You are affected if you are running Apache Tomcat 7.0.0-7.0.79 on Windows with the Default servlet's readonly parameter set to false, allowing HTTP PUT requests.
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 · scopedSet the Default servlet's readonly parameter to true (the default), or if PUT functionality is required, implement proper authentication and restrict uploaded file types; alternatively, upgrade to Tomcat 7.0.80 or later.
Tomcat 7.0.80 or later
- Upgrade Apache Tomcat from versions 7.0.0-7.0.79 to version 7.0.80 or later
- After upgrade, verify the Default servlet's readonly parameter is set to true (this is the default value)
- If using a custom server.xml configuration, ensure the Default servlet configuration includes: <DefaultServlet ... readonly="true">
- Restart Tomcat after making configuration changes
- Test that HTTP PUT requests for JSP files are rejected
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2017-12615 — 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- lists.apache.org
- breaktoprotect.blogspot.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- www.securityfocus.com
- www.securitytracker.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- github.com
- security.netapp.com
- www.exploit-db.com
- www.synology.com
- lists.apache.org
- breaktoprotect.blogspot.com
- lists.apache.org
- www.cisa.gov
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2017-12615 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