Skip to content
Noroxi
CVE-2016-1240· NVD / CVE Program· CNA debian

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 tom

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.

HighCVSS 7.8 · v3.0—Weaponized Fix available
Published
Oct 3, 2016
Updated
Jun 16, 2026
EPSS
9.8% · 95th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

34

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 9.8%

Affected systems

VendorProduct
debiandebian linux
apachetomcat
canonicalubuntu linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache tomcat6.0
  • apache tomcat7.0
  • apache tomcat8.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:7tomcat6before 6.0.45+dfsg-1~deb7u26.0.45+dfsg-1~deb7u2
Debian:7tomcat7before 7.0.28-4+deb7u67.0.28-4+deb7u6
Debian:8tomcat7before 7.0.56-3+deb8u47.0.56-3+deb8u4
Debian:8tomcat8before 8.0.14-1+deb8u38.0.14-1+deb8u3
Red Hat:jboss_enterprise_web_server:3.1::el6hibernate4-c3p0-eap6before 0:4.2.23-1.Final_redhat_1.1.ep6.el60:4.2.23-1.Final_redhat_1.1.ep6.el6
Red Hat:jboss_enterprise_web_server:3.1::el6hibernate4-core-eap6before 0:4.2.23-1.Final_redhat_1.1.ep6.el60:4.2.23-1.Final_redhat_1.1.ep6.el6
Red Hat:jboss_enterprise_web_server:3.1::el6hibernate4-eap6before 0:4.2.23-1.Final_redhat_1.1.ep6.el60:4.2.23-1.Final_redhat_1.1.ep6.el6
Red Hat:jboss_enterprise_web_server:3.1::el6hibernate4-entitymanager-eap6before 0:4.2.23-1.Final_redhat_1.1.ep6.el60:4.2.23-1.Final_redhat_1.1.ep6.el6
Red Hat:jboss_enterprise_web_server:3.1::el6hibernate4-envers-eap6before 0:4.2.23-1.Final_redhat_1.1.ep6.el60:4.2.23-1.Final_redhat_1.1.ep6.el6
Red Hat:jboss_enterprise_web_server:3.1::el6jbcs-httpd24-apache-commons-daemonbefore 0:1.0.15-1.redhat_2.1.jbcs.el60:1.0.15-1.redhat_2.1.jbcs.el6
Red Hat:jboss_enterprise_web_server:3.1::el6jbcs-httpd24-apache-commons-daemon-jsvcbefore 1:1.0.15-17.redhat_2.jbcs.el61:1.0.15-17.redhat_2.jbcs.el6
Red Hat:jboss_enterprise_web_server:3.1::el6jbcs-httpd24-apache-commons-daemon-jsvc-debuginfobefore 1:1.0.15-17.redhat_2.jbcs.el61:1.0.15-17.redhat_2.jbcs.el6
Red Hat:jboss_enterprise_web_server:3.1::el6jbcs-httpd24-runtimebefore 0:1-3.jbcs.el60:1-3.jbcs.el6
Red Hat:jboss_enterprise_web_server:3.1::el6mod_clusterbefore 0:1.3.5-2.Final_redhat_2.1.ep7.el60:1.3.5-2.Final_redhat_2.1.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6mod_cluster-tomcat7before 0:1.3.5-2.Final_redhat_2.1.ep7.el60:1.3.5-2.Final_redhat_2.1.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6mod_cluster-tomcat8before 0:1.3.5-2.Final_redhat_2.1.ep7.el60:1.3.5-2.Final_redhat_2.1.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6tomcat-nativebefore 0:1.2.8-9.redhat_9.ep7.el60:1.2.8-9.redhat_9.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6tomcat-native-debuginfobefore 0:1.2.8-9.redhat_9.ep7.el60:1.2.8-9.redhat_9.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6tomcat-vaultbefore 0:1.0.8-9.Final_redhat_2.1.ep7.el60:1.0.8-9.Final_redhat_2.1.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6tomcat7before 0:7.0.70-16.ep7.el60:7.0.70-16.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6tomcat7-admin-webappsbefore 0:7.0.70-16.ep7.el60:7.0.70-16.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6tomcat7-docs-webappbefore 0:7.0.70-16.ep7.el60:7.0.70-16.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6tomcat7-el-2.2-apibefore 0:7.0.70-16.ep7.el60:7.0.70-16.ep7.el6
Red Hat:jboss_enterprise_web_server:3.1::el6tomcat7-javadocbefore 0:7.0.70-16.ep7.el60:7.0.70-16.ep7.el6

+58

Other highest-scoring records for the same primary product.

  • CVE-2016-9079A use-after-free vulnerability in SVG Animation has been discovered.KEV
    86Now
  • CVE-2024-44308The issue was addressed with improved checks.KEV
    68This week
  • CVE-2021-25216A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack
    64This week
  • CVE-2024-44309A cookie management issue was addressed with improved state management.KEV
    62This week
  • CVE-2016-2098Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Rub
    53Plan
  • CVE-2015-1592Movable Type Pro, Open Source, and Advanced before 5.2.12 and Pro and Advanced 6.0.x before 6.0.7 does not properly use the Perl Storable::t
    53Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:tomcat66.0.45+dfsg-1~deb7u2 · Debian:7Package registry (OSV)
debian:tomcat77.0.28-4+deb7u6 · Debian:7Package registry (OSV)
debian:tomcat88.0.14-1+deb8u3 · Debian:8Package registry (OSV)
red hat:hibernate4-c3p0-eap60:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:hibernate4-core-eap60:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:hibernate4-eap60:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:hibernate4-entitymanager-eap60:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:hibernate4-envers-eap60:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:jbcs-httpd24-apache-commons-daemon0:1.0.15-1.redhat_2.1.jbcs.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:jbcs-httpd24-apache-commons-daemon-jsvc1:1.0.15-17.redhat_2.jbcs.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:jbcs-httpd24-apache-commons-daemon-jsvc-debuginfo1:1.0.15-17.redhat_2.jbcs.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:jbcs-httpd24-runtime0:1-3.jbcs.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:mod_cluster0:1.3.5-2.Final_redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:mod_cluster-tomcat70:1.3.5-2.Final_redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
red hat:mod_cluster-tomcat80:1.3.5-2.Final_redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×1
  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrylocal2016-10-03
Metasploit moduleexploit/linux/local/tomcat_ubuntu_log_init_priv_escApache Tomcat on Ubuntu Log Init Privilege Escalationexploit2016-09-30
Proof-of-concept repository on GitHubstars:12016-10-13
Proof-of-concept repository on GitHubstars:02018-12-02

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Metasploit-3 d
  2. First PoCsame day
  3. Published
  4. TodaySep 30, 2026+3649 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records