CVE-2016-1240: 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…
Noroxi assessment
Priority: Plan (action score 40/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- Because a ready-made attack tool exists, priority is at least “Plan”.
- Probability of exploitation in the next 30 days: 9.7% (FIRST EPSS); higher than 95.6% of all records.
- 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.
- Fixed version: tomcat6 (Debian:7) 6.0.45+dfsg-1~deb7u2; tomcat7 (Debian:7) 7.0.28-4+deb7u6; tomcat7 (Debian:8) 7.0.56-3+deb8u4.
Add it to your regular patch cycle. Upgrade to tomcat6 (Debian:7) 6.0.45+dfsg-1~deb7u2; tomcat7 (Debian:7) 7.0.28-4+deb7u6; tomcat7 (Debian:8) 7.0.56-3+deb8u4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 3, 2016
- Updated
- Jun 16, 2026
- EPSS
- 9.7% · 95th percentile
- CWE
- CWE-20
Report tools
Action score
40
Add it to your regular patch cycle.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 9.7%
- Ready-made attack tool
- 6 / 40 · floor: at least 40
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| apache | tomcat | cpe:2.3:a:apache:tomcat |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:7 | tomcat6 | before 6.0.45+dfsg-1~deb7u2 | 6.0.45+dfsg-1~deb7u2 |
| Debian:7 | tomcat7 | before 7.0.28-4+deb7u6 | 7.0.28-4+deb7u6 |
| Debian:8 | tomcat7 | before 7.0.56-3+deb8u4 | 7.0.56-3+deb8u4 |
| Debian:8 | tomcat8 | before 8.0.14-1+deb8u3 | 8.0.14-1+deb8u3 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | hibernate4-c3p0-eap6 | before 0:4.2.23-1.Final_redhat_1.1.ep6.el6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | hibernate4-core-eap6 | before 0:4.2.23-1.Final_redhat_1.1.ep6.el6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | hibernate4-eap6 | before 0:4.2.23-1.Final_redhat_1.1.ep6.el6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | hibernate4-entitymanager-eap6 | before 0:4.2.23-1.Final_redhat_1.1.ep6.el6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | hibernate4-envers-eap6 | before 0:4.2.23-1.Final_redhat_1.1.ep6.el6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | jbcs-httpd24-apache-commons-daemon | before 0:1.0.15-1.redhat_2.1.jbcs.el6 | 0:1.0.15-1.redhat_2.1.jbcs.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | jbcs-httpd24-apache-commons-daemon-jsvc | before 1:1.0.15-17.redhat_2.jbcs.el6 | 1:1.0.15-17.redhat_2.jbcs.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | jbcs-httpd24-apache-commons-daemon-jsvc-debuginfo | before 1:1.0.15-17.redhat_2.jbcs.el6 | 1:1.0.15-17.redhat_2.jbcs.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | jbcs-httpd24-runtime | before 0:1-3.jbcs.el6 | 0:1-3.jbcs.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | mod_cluster | before 0:1.3.5-2.Final_redhat_2.1.ep7.el6 | 0:1.3.5-2.Final_redhat_2.1.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | mod_cluster-tomcat7 | before 0:1.3.5-2.Final_redhat_2.1.ep7.el6 | 0:1.3.5-2.Final_redhat_2.1.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | mod_cluster-tomcat8 | before 0:1.3.5-2.Final_redhat_2.1.ep7.el6 | 0:1.3.5-2.Final_redhat_2.1.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | tomcat-native | before 0:1.2.8-9.redhat_9.ep7.el6 | 0:1.2.8-9.redhat_9.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | tomcat-native-debuginfo | before 0:1.2.8-9.redhat_9.ep7.el6 | 0:1.2.8-9.redhat_9.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | tomcat-vault | before 0:1.0.8-9.Final_redhat_2.1.ep7.el6 | 0:1.0.8-9.Final_redhat_2.1.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | tomcat7 | before 0:7.0.70-16.ep7.el6 | 0:7.0.70-16.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | tomcat7-admin-webapps | before 0:7.0.70-16.ep7.el6 | 0:7.0.70-16.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | tomcat7-docs-webapp | before 0:7.0.70-16.ep7.el6 | 0:7.0.70-16.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | tomcat7-el-2.2-api | before 0:7.0.70-16.ep7.el6 | 0:7.0.70-16.ep7.el6 |
| Red Hat:jboss_enterprise_web_server:3.1::el6 | tomcat7-javadoc | before 0:7.0.70-16.ep7.el6 | 0:7.0.70-16.ep7.el6 |
+58
Same product
debian: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-9079A use-after-free vulnerability in SVG Animation has been discovered.KEV86Now
- CVE-2024-44308The issue was addressed with improved checks.KEV68This week
- CVE-2021-25216A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack64This week
Published before and after this one in the same product
- ← EarlierCVE-2016-7143Sep 21, 2016 · The m_authenticate function in modules/m_sasl.c in Charybdis before 3.5.3 allows remote attackers to spoof certificate fingerprints and…32Monitor
- ← EarlierCVE-2016-6525Sep 22, 2016 · Heap-based buffer overflow in the pdf_load_mesh_params function in pdf/pdf-shade.c in MuPDF allows remote attackers to cause a denial of…40Plan
- Later →CVE-2016-1243Oct 3, 2016 · Stack-based buffer overflow in the extractTree function in unADF allows remote attackers to execute arbitrary code via a long pathname.41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:tomcat6 | 6.0.45+dfsg-1~deb7u2 · Debian:7 | Package registry (OSV) |
| debian:tomcat7 | 7.0.28-4+deb7u6 · Debian:7 | Package registry (OSV) |
| debian:tomcat8 | 8.0.14-1+deb8u3 · Debian:8 | Package registry (OSV) |
| red hat:hibernate4-c3p0-eap6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:hibernate4-core-eap6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:hibernate4-eap6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:hibernate4-entitymanager-eap6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:hibernate4-envers-eap6 | 0:4.2.23-1.Final_redhat_1.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:jbcs-httpd24-apache-commons-daemon | 0:1.0.15-1.redhat_2.1.jbcs.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:jbcs-httpd24-apache-commons-daemon-jsvc | 1:1.0.15-17.redhat_2.jbcs.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:jbcs-httpd24-apache-commons-daemon-jsvc-debuginfo | 1:1.0.15-17.redhat_2.jbcs.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:jbcs-httpd24-runtime | 0:1-3.jbcs.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:mod_cluster | 0:1.3.5-2.Final_redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:mod_cluster-tomcat7 | 0:1.3.5-2.Final_redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| red hat:mod_cluster-tomcat8 | 0:1.3.5-2.Final_redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package 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.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2016-10-03 |
| Metasploit module | exploit/linux/local/tomcat_ubuntu_log_init_priv_escApache Tomcat on Ubuntu Log Init Privilege Escalationexploit | 2016-09-30 |
| Proof-of-concept repository on GitHub | stars:1 | 2016-10-13 |
| Proof-of-concept repository on GitHub | stars:0 | 2018-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.
- Metasploit-3 d
- First PoCsame day
- Published
- TodayNov 16, 2026+3696 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
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
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- rhn.redhat.com/errata/RHSA-2017-0457.html
- www.debian.org/security/2016/dsa-3669
- www.debian.org/security/2016/dsa-3670
- www.securityfocus.com/archive/1/539519/100/0/threaded
- www.securityfocus.com/bid/93263
- www.securitytracker.com/id/1036845
- www.ubuntu.com/usn/USN-3081-1
- access.redhat.com/errata/RHSA-2017:0455
- access.redhat.com/errata/RHSA-2017:0456
- security.gentoo.org/glsa/201705-09
- security.netapp.com/advisory/ntap-20180731-0002/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.