CVE-2016-1240
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tomcat8 | Ubuntu:16.04:LTS | 8.0.32-1ubuntu1.2 |
| tomcat6 | Ubuntu:14.04:LTS | 6.0.39-1ubuntu0.1 |
| tomcat6 | Ubuntu:16.04:LTS | 6.0.45+dfsg-1ubuntu0.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/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
- 1036845 vdb-entry
- DSA-3670 vendor-advisory
- GLSA-201705-09 vendor-advisory
- 93263 vdb-entry
- RHSA-2017:0457 vendor-advisory
- 40450 exploit
- DSA-3669 vendor-advisory
- RHSA-2017:0455 vendor-advisory
- 20161001 CVE-2016-1240 - Tomcat packaging on Debian-based distros - Local Root Privilege Escalation mailing-list
- RHSA-2017:0456 vendor-advisory
- USN-3081-1 vendor-advisory