CVE-2016-1240

NameCVE-2016-1240
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-622-1, DLA-623-1, DSA-3669-1, DSA-3670-1
NVD severityhigh (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat6 (PTS)wheezy6.0.45+dfsg-1~deb7u1vulnerable
wheezy (security)6.0.45+dfsg-1~deb7u5fixed
jessie (security), jessie6.0.45+dfsg-1~deb8u1fixed
tomcat7 (PTS)wheezy7.0.28-4+deb7u4vulnerable
wheezy (security)7.0.28-4+deb7u11fixed
jessie7.0.56-3+deb8u7fixed
jessie (security)7.0.56-3+deb8u9fixed
stretch, sid7.0.75-1fixed
tomcat8 (PTS)jessie8.0.14-1+deb8u6fixed
jessie (security)8.0.14-1+deb8u8fixed
stretch, sid8.5.11-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tomcat6source(unstable)6.0.41-3high
tomcat6sourcewheezy6.0.45+dfsg-1~deb7u2highDLA-622-1
tomcat7source(unstable)7.0.70-3high
tomcat7sourcejessie7.0.56-3+deb8u4highDSA-3669-1
tomcat7sourcewheezy7.0.28-4+deb7u6highDLA-623-1
tomcat8source(unstable)8.0.36-3high
tomcat8sourcejessie8.0.14-1+deb8u3highDSA-3670-1

Notes

Since 6.0.41-3, src:tomcat6 only builds a servlet and docs

Search for package or bug name: Reporting problems