CVE-2016-1240

HIGH

Apache Tomcat on Ubuntu Log Init Privilege Escalation

Title source: metasploit
STIX 2.1

Description

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.

Exploits (4)

exploitdb WORKING POC VERIFIED
by Dawid Golunski · textlocallinux
https://www.exploit-db.com/exploits/40450
nomisec WRITEUP 1 stars
by Naramsim · poc
https://github.com/Naramsim/Offensive
nomisec WORKING POC
by mhe18 · poc
https://github.com/mhe18/CVE_Project
metasploit WORKING POC MANUAL
by h00die, Dawid Golunski <[email protected]> · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/tomcat_ubuntu_log_init_priv_esc.rb

Scores

CVSS v3 7.8
EPSS 0.2208
EPSS Percentile 95.8%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-20
Status published
Products (3)
apache/tomcat 6.0
apache/tomcat 7.0
apache/tomcat 8.0
Published Oct 03, 2016
Tracked Since Feb 18, 2026