Vulnerabilities · 2016 · Apache
CVE-2016-1240
Apache Tomcat vulnerability
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.
Affected products
Tomcat. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Tomcat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.debian.org/security/2016/dsa-3669 · Third Party Advisory
- www.debian.org/security/2016/dsa-3670 · Third Party Advisory
- www.securitytracker.com/id/1036845 · Third Party Advisory
- www.ubuntu.com/usn/USN-3081-1 · Third Party Advisory
- legalhackers.com/advisories/Tomcat-DebPkgs-Root-Privilege-Escalation-Exploit-CVE-2016-1240
- packetstormsecurity.com/files/170857/Apache-Tomcat-On-Ubuntu-Log-Init-Privilege-Escalation
- rhn.redhat.com/errata/RHSA-2017-0457.html
- www.securityfocus.com/archive/1/539519/100/0/threaded
- nvd.nist.gov/vuln/detail/CVE-2016-1240
- cve.org/CVERecord?id=CVE-2016-1240
More vulnerabilities in Apache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.