VDB

CVE-2016-1240

CVE-2016-1240 PUBLISHED

Reported by debian · Published October 3, 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
tomcat8Ubuntu:16.04:LTS8.0.32-1ubuntu1.2
tomcat6Ubuntu:14.04:LTS6.0.39-1ubuntu0.1
tomcat6Ubuntu:16.04:LTS6.0.45+dfsg-1ubuntu0.2

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Sep 16, 2016 CVE Published
  • Oct 1, 2016 PoC Published (2 in total, the first dated here)
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 5, 2026 Distribution Patch (7 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (8 in total, the first dated here)
  • Oct 10, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-1240
vulnetix vdb fixes CVE-2016-1240

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-1240/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›