Back to CVE catalog
CVE-2016-1240

Tomcat init script symlink attack allows privilege escalation

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.0

7.8High
Published:
Updated:
EPSS:
9.783%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Apachetomcat
Environments (3)
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
Affected versions:
6.0Show full version range for tomcat
7.08.0
Vendor:Apachetomcat
Environments (1)
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Affected versions:
7.0Show full version range for tomcat
8.0
Vendor:Canonicallibservlet2.4-java
Environments (1)
  • trusty
Affected versions:
< 6.0.39-1ubuntu0.1
Vendor:Canonicallibservlet2.5-java
Environments (1)
  • trusty
Affected versions:
< 6.0.39-1ubuntu0.1
Vendor:Canonicallibservlet3.0-java
Environments (1)
  • trusty
Affected versions:
< 7.0.52-1ubuntu0.7
Vendor:Canonicallibtomcat6-java
Environments (1)
  • trusty
Affected versions:
< 6.0.39-1ubuntu0.1
Vendor:Canonicallibtomcat7-java
Environments (1)
  • trusty
Affected versions:
< 7.0.52-1ubuntu0.7
Vendor:Canonicaltomcat6
Environments (1)
  • trusty
Affected versions:
< 6.0.39-1ubuntu0.1
Vendor:Canonicaltomcat6-admin
Environments (1)
  • trusty
Affected versions:
< 6.0.39-1ubuntu0.1
Vendor:Canonicaltomcat6-common
Environments (1)
  • trusty
Affected versions:
< 6.0.39-1ubuntu0.1

1–10 of 44 · Page 1 of 5

CVSS scores and metrics10
[email protected] · NVD (Primary)Primary7.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE-2016-1240 · OSV (source-vector)7.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd · Wazuh CTI (cna)7.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
canonical · Wazuh CTI (adp)7.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
redhat · Wazuh CTI (adp)7.0 / 10HighCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat · Red Hat VEX (adp)7.0 / 10HighCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C
redhat · Wazuh CTI (adp)6.9 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:M/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C
Red Hat · Red Hat VEX (adp)6.9 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:M/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories24

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences