{"id":"CVE-2016-1240","details":"The Tomcat init script in the tomcat7 package before 7.0.56-3+deb8u4 and tomcat8 package before 8.0.14-1+deb8u3 on Debian jessie and the tomcat6 and libtomcat6-java packages before 6.0.35-1ubuntu3.8 on Ubuntu 12.04 LTS, the tomcat7 and libtomcat7-java packages before 7.0.52-1ubuntu0.7 on Ubuntu 14.04 LTS, and tomcat8 and libtomcat8-java packages before 8.0.32-1ubuntu1.2 on Ubuntu 16.04 LTS allows local users with access to the tomcat account to gain root privileges via a symlink attack on the Catalina log file, as demonstrated by /var/log/tomcat7/catalina.out.","modified":"2026-04-10T03:47:54.204467Z","published":"2016-10-03T15:59:00.207Z","references":[{"type":"WEB","url":"http://www.securityfocus.com/archive/1/539519/100/0/threaded"},{"type":"WEB","url":"http://www.securityfocus.com/bid/93263"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/40450/"},{"type":"WEB","url":"http://packetstormsecurity.com/files/170857/Apache-Tomcat-On-Ubuntu-Log-Init-Privilege-Escalation.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2017-0457.html"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1036845"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:0455"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:0456"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3669"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3670"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3081-1"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201705-09"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180731-0002/"},{"type":"ADVISORY","url":"http://legalhackers.com/advisories/Tomcat-DebPkgs-Root-Privilege-Escalation-Exploit-CVE-2016-1240.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/tomcat","events":[{"introduced":"0"},{"last_affected":"e498667bd7811e846771a852b16ce9f1e524b81b"},{"introduced":"0"},{"last_affected":"e498667bd7811e846771a852b16ce9f1e524b81b"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"7.0"},{"introduced":"0"},{"last_affected":"7.0"}]}}],"versions":["7.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-1240.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"6.0"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}