UBUNTU-CVE-2016-1240

Source
https://ubuntu.com/security/CVE-2016-1240
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-1240.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2016-1240
Related
Published
2016-09-16T00:00:00Z
Modified
2016-09-16T00:00:00Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:14.04:LTS / tomcat6

Package

Name
tomcat6
Purl
pkg:deb/ubuntu/tomcat6?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.39-1ubuntu0.1

Affected versions

6.*

6.0.37-1
6.0.39-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "libservlet2.4-java"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "libservlet2.5-java"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "libservlet2.5-java-doc"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "libtomcat6-java"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "tomcat6"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "tomcat6-admin"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "tomcat6-common"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "tomcat6-docs"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "tomcat6-examples"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "tomcat6-extras"
        },
        {
            "binary_version": "6.0.39-1ubuntu0.1",
            "binary_name": "tomcat6-user"
        }
    ]
}

Ubuntu:14.04:LTS / tomcat7

Package

Name
tomcat7
Purl
pkg:deb/ubuntu/tomcat7?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.0.52-1ubuntu0.7

Affected versions

7.*

7.0.42-1
7.0.47-1
7.0.50-1
7.0.52-1
7.0.52-1ubuntu0.1
7.0.52-1ubuntu0.3
7.0.52-1ubuntu0.6

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "7.0.52-1ubuntu0.7",
            "binary_name": "libservlet3.0-java"
        },
        {
            "binary_version": "7.0.52-1ubuntu0.7",
            "binary_name": "libservlet3.0-java-doc"
        },
        {
            "binary_version": "7.0.52-1ubuntu0.7",
            "binary_name": "libtomcat7-java"
        },
        {
            "binary_version": "7.0.52-1ubuntu0.7",
            "binary_name": "tomcat7"
        },
        {
            "binary_version": "7.0.52-1ubuntu0.7",
            "binary_name": "tomcat7-admin"
        },
        {
            "binary_version": "7.0.52-1ubuntu0.7",
            "binary_name": "tomcat7-common"
        },
        {
            "binary_version": "7.0.52-1ubuntu0.7",
            "binary_name": "tomcat7-docs"
        },
        {
            "binary_version": "7.0.52-1ubuntu0.7",
            "binary_name": "tomcat7-examples"
        },
        {
            "binary_version": "7.0.52-1ubuntu0.7",
            "binary_name": "tomcat7-user"
        }
    ]
}

Ubuntu:16.04:LTS / tomcat6

Package

Name
tomcat6
Purl
pkg:deb/ubuntu/tomcat6?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.45+dfsg-1ubuntu0.2

Affected versions

6.*

6.0.41-4
6.0.45+dfsg-1
6.0.45+dfsg-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "6.0.45+dfsg-1ubuntu0.2",
            "binary_name": "libservlet2.5-java"
        },
        {
            "binary_version": "6.0.45+dfsg-1ubuntu0.2",
            "binary_name": "libservlet2.5-java-doc"
        }
    ]
}

Ubuntu:16.04:LTS / tomcat7

Package

Name
tomcat7
Purl
pkg:deb/ubuntu/tomcat7?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.0.68-1ubuntu0.3

Affected versions

7.*

7.0.64-1
7.0.68-1
7.0.68-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "7.0.68-1ubuntu0.3",
            "binary_name": "libservlet3.0-java"
        },
        {
            "binary_version": "7.0.68-1ubuntu0.3",
            "binary_name": "libservlet3.0-java-doc"
        },
        {
            "binary_version": "7.0.68-1ubuntu0.3",
            "binary_name": "libtomcat7-java"
        },
        {
            "binary_version": "7.0.68-1ubuntu0.3",
            "binary_name": "tomcat7"
        },
        {
            "binary_version": "7.0.68-1ubuntu0.3",
            "binary_name": "tomcat7-admin"
        },
        {
            "binary_version": "7.0.68-1ubuntu0.3",
            "binary_name": "tomcat7-common"
        },
        {
            "binary_version": "7.0.68-1ubuntu0.3",
            "binary_name": "tomcat7-docs"
        },
        {
            "binary_version": "7.0.68-1ubuntu0.3",
            "binary_name": "tomcat7-examples"
        },
        {
            "binary_version": "7.0.68-1ubuntu0.3",
            "binary_name": "tomcat7-user"
        }
    ]
}

Ubuntu:16.04:LTS / tomcat8

Package

Name
tomcat8
Purl
pkg:deb/ubuntu/tomcat8?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.32-1ubuntu1.2

Affected versions

8.*

8.0.26-1
8.0.28-1
8.0.30-1
8.0.32-1
8.0.32-1ubuntu1
8.0.32-1ubuntu1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "8.0.32-1ubuntu1.2",
            "binary_name": "libservlet3.1-java"
        },
        {
            "binary_version": "8.0.32-1ubuntu1.2",
            "binary_name": "libservlet3.1-java-doc"
        },
        {
            "binary_version": "8.0.32-1ubuntu1.2",
            "binary_name": "libtomcat8-java"
        },
        {
            "binary_version": "8.0.32-1ubuntu1.2",
            "binary_name": "tomcat8"
        },
        {
            "binary_version": "8.0.32-1ubuntu1.2",
            "binary_name": "tomcat8-admin"
        },
        {
            "binary_version": "8.0.32-1ubuntu1.2",
            "binary_name": "tomcat8-common"
        },
        {
            "binary_version": "8.0.32-1ubuntu1.2",
            "binary_name": "tomcat8-docs"
        },
        {
            "binary_version": "8.0.32-1ubuntu1.2",
            "binary_name": "tomcat8-examples"
        },
        {
            "binary_version": "8.0.32-1ubuntu1.2",
            "binary_name": "tomcat8-user"
        }
    ]
}