CVE-2016-1240
Published: 16 September 2016
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.
From the Ubuntu Security Team
Dawid Golunski discovered that the Tomcat init script incorrectly handled creating log files. A remote attacker could possibly use this issue to obtain root privileges.
Priority
Status
Package | Release | Status |
---|---|---|
tomcat6 Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
eoan |
Does not exist
|
|
focal |
Does not exist
|
|
precise |
Released
(6.0.35-1ubuntu3.8)
|
|
trusty |
Released
(6.0.39-1ubuntu0.1)
|
|
upstream |
Needs triage
|
|
xenial |
Released
(6.0.45+dfsg-1ubuntu0.2)
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
groovy |
Does not exist
|
|
tomcat7 Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Not vulnerable
(7.0.72-2)
|
|
cosmic |
Not vulnerable
(7.0.72-2)
|
|
disco |
Does not exist
|
|
eoan |
Does not exist
|
|
focal |
Does not exist
|
|
precise |
Ignored
(end of life)
|
|
trusty |
Released
(7.0.52-1ubuntu0.7)
|
|
upstream |
Needs triage
|
|
xenial |
Released
(7.0.68-1ubuntu0.3)
|
|
yakkety |
Ignored
(end of life)
|
|
zesty |
Ignored
(end of life)
|
|
groovy |
Does not exist
|
|
tomcat8 Launchpad, Ubuntu, Debian |
artful |
Released
(8.0.36-2ubuntu1)
|
bionic |
Released
(8.0.36-2ubuntu1)
|
|
cosmic |
Released
(8.0.36-2ubuntu1)
|
|
disco |
Does not exist
|
|
eoan |
Does not exist
|
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
precise |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Released
(8.0.32-1ubuntu1.2)
|
|
yakkety |
Released
(8.0.36-2ubuntu1)
|
|
zesty |
Released
(8.0.36-2ubuntu1)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |