{"id":"UBUNTU-CVE-2017-12617","details":"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.","modified":"2026-01-30T02:41:43.168124Z","published":"2017-10-03T00:00:00Z","related":["USN-3665-1","USN-7282-1"],"upstream":["CVE-2017-12617"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-12617"},{"type":"REPORT","url":"https://www.alphabot.com/security/blog/2017/java/Apache-Tomcat-RCE-CVE-2017-12617.html"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/3fd341a604c4e9eab39e7eaabbbac39c30101a022acc11dd09d7ebcb@%3Cannounce.tomcat.apache.org%3E"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3665-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-12617"},{"type":"REPORT","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7282-1"}],"affected":[{"package":{"name":"tomcat7","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.52-1ubuntu0.14?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.52-1ubuntu0.14"}]}],"versions":["7.0.42-1","7.0.47-1","7.0.50-1","7.0.52-1","7.0.52-1ubuntu0.1","7.0.52-1ubuntu0.3","7.0.52-1ubuntu0.6","7.0.52-1ubuntu0.7","7.0.52-1ubuntu0.8","7.0.52-1ubuntu0.9","7.0.52-1ubuntu0.10","7.0.52-1ubuntu0.11","7.0.52-1ubuntu0.13"],"ecosystem_specific":{"binaries":[{"binary_name":"libservlet3.0-java","binary_version":"7.0.52-1ubuntu0.14"},{"binary_name":"libtomcat7-java","binary_version":"7.0.52-1ubuntu0.14"},{"binary_name":"tomcat7","binary_version":"7.0.52-1ubuntu0.14"},{"binary_name":"tomcat7-admin","binary_version":"7.0.52-1ubuntu0.14"},{"binary_name":"tomcat7-common","binary_version":"7.0.52-1ubuntu0.14"},{"binary_name":"tomcat7-docs","binary_version":"7.0.52-1ubuntu0.14"},{"binary_name":"tomcat7-examples","binary_version":"7.0.52-1ubuntu0.14"},{"binary_name":"tomcat7-user","binary_version":"7.0.52-1ubuntu0.14"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12617.json"}},{"package":{"name":"tomcat8","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat8@8.0.32-1ubuntu1.6?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.32-1ubuntu1.6"}]}],"versions":["8.0.26-1","8.0.28-1","8.0.30-1","8.0.32-1","8.0.32-1ubuntu1","8.0.32-1ubuntu1.1","8.0.32-1ubuntu1.2","8.0.32-1ubuntu1.3","8.0.32-1ubuntu1.4","8.0.32-1ubuntu1.5"],"ecosystem_specific":{"binaries":[{"binary_name":"libservlet3.1-java","binary_version":"8.0.32-1ubuntu1.6"},{"binary_name":"libtomcat8-java","binary_version":"8.0.32-1ubuntu1.6"},{"binary_name":"tomcat8","binary_version":"8.0.32-1ubuntu1.6"},{"binary_name":"tomcat8-admin","binary_version":"8.0.32-1ubuntu1.6"},{"binary_name":"tomcat8-common","binary_version":"8.0.32-1ubuntu1.6"},{"binary_name":"tomcat8-docs","binary_version":"8.0.32-1ubuntu1.6"},{"binary_name":"tomcat8-examples","binary_version":"8.0.32-1ubuntu1.6"},{"binary_name":"tomcat8-user","binary_version":"8.0.32-1ubuntu1.6"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12617.json"}},{"package":{"name":"tomcat7","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.68-1ubuntu0.4+esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.68-1ubuntu0.4+esm3"}]}],"versions":["7.0.64-1","7.0.68-1","7.0.68-1ubuntu0.1","7.0.68-1ubuntu0.3","7.0.68-1ubuntu0.4","7.0.68-1ubuntu0.4+esm1","7.0.68-1ubuntu0.4+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libservlet3.0-java","binary_version":"7.0.68-1ubuntu0.4+esm3"},{"binary_name":"libtomcat7-java","binary_version":"7.0.68-1ubuntu0.4+esm3"},{"binary_name":"tomcat7","binary_version":"7.0.68-1ubuntu0.4+esm3"},{"binary_name":"tomcat7-admin","binary_version":"7.0.68-1ubuntu0.4+esm3"},{"binary_name":"tomcat7-common","binary_version":"7.0.68-1ubuntu0.4+esm3"},{"binary_name":"tomcat7-docs","binary_version":"7.0.68-1ubuntu0.4+esm3"},{"binary_name":"tomcat7-examples","binary_version":"7.0.68-1ubuntu0.4+esm3"},{"binary_name":"tomcat7-user","binary_version":"7.0.68-1ubuntu0.4+esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12617.json"}},{"package":{"name":"tomcat7","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.78-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.78-1","7.0.78-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libservlet3.0-java","binary_version":"7.0.78-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12617.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}