CVE-2016-12402 exploits
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 to…
Published 10 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
9.78% probability of exploitation in the next 30 days, higher than 96% of all scored CVEs.
Exploits and detections
- Metasploit exploit/linux/local/tomcat_ubuntu_log_init_priv_esc Apache Tomcat on Ubuntu Log Init Privilege Escalation · metasploit exploit, manual rank · 2016-09-30
- EDB-40450 Apache Tomcat 8/7/6 (Debian-Based Distros) - Local Privilege Escalation · local · 2016-10-03
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
- CWE-20 Improper Input Validation
References
- securitytracker.com /id/1036845 · vdb-entry, x_transferred
- debian.org /security/2016/dsa-3670 · vendor-advisory, x_transferred
- security.gentoo.org /glsa/201705-09 · vendor-advisory, x_transferred
- legalhackers.com /advisories/Tomcat-DebPkgs-Root-Privilege-Escalation-Exploit-CVE-2016-1240.html · x_transferred
- securityfocus.com /bid/93263 · vdb-entry, x_transferred
- rhn.redhat.com /errata/RHSA-2017-0457.html · vendor-advisory, x_transferred
- security.netapp.com /advisory/ntap-20180731-0002/ · x_transferred
- exploit-db.com /exploits/40450/ · exploit, x_transferred
- debian.org /security/2016/dsa-3669 · vendor-advisory, x_transferred
- access.redhat.com /errata/RHSA-2017:0455 · vendor-advisory, x_transferred
- securityfocus.com /archive/1/539519/100/0/threaded · mailing-list, x_transferred
- access.redhat.com /errata/RHSA-2017:0456 · vendor-advisory, x_transferred
- ubuntu.com /usn/USN-3081-1 · vendor-advisory, x_transferred
- packetstormsecurity.com /files/170857/Apache-Tomcat-On-Ubuntu-Log-Init-Privilege-Escalation.html · x_transferred
Sources
- CVE List: CVE-2016-1240
- NVD: CVE-2016-1240
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.