CVE-2016-5425
Tomcat Local Privilege Escalation
Description
The Tomcat package on Red Hat Enterprise Linux (RHEL) 7, Fedora, CentOS, Oracle Linux, and possibly other Linux distributions uses weak permissions for /usr/lib/tmpfiles.d/tomcat.conf, which allows local users to gain root privileges by leveraging membership in the tomcat group.
INFO
Published Date :
Oct. 13, 2016, 2:59 p.m.
Last Modified :
Nov. 21, 2024, 2:54 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2016-5425 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2016-5425
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2016-5425
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Map Vulnerabilities into Different Layers of the Container Image
Python
Tips & tricks for using the Versio.io Product Lifecycle and Security API
api lifecycle lifecycle-data security-audit security-tools security-vulnerability product hardware lts maintenance release software support version longtermsupport
从美国国家漏洞库NVD获取某个特定版本软件的漏洞统计信息。
vulnerability nvd infomation-management
Python HTML
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2016-5425
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2016-5425
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 12, 2023
Action Type Old Value New Value Changed Description It was discovered that the Tomcat packages installed configuration file /usr/lib/tmpfiles.d/tomcat.conf writeable to the tomcat group. A member of the group or a malicious web application deployed on Tomcat could use this flaw to escalate their privileges. The Tomcat package on Red Hat Enterprise Linux (RHEL) 7, Fedora, CentOS, Oracle Linux, and possibly other Linux distributions uses weak permissions for /usr/lib/tmpfiles.d/tomcat.conf, which allows local users to gain root privileges by leveraging membership in the tomcat group. Removed CVSS V2 Metadata Obtain Admin/Root Access Removed CVSS V2 Red Hat, Inc. (AV:L/AC:M/Au:N/C:C/I:C/A:C) Removed CVSS V3 Red Hat, Inc. AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Removed Reference http://legalhackers.com/advisories/Tomcat-RedHat-based-Root-Privilege-Escalation-Exploit.txt [No Types Assigned] Removed Reference https://access.redhat.com/errata/RHSA-2016:2046 [No Types Assigned] Removed Reference https://access.redhat.com/security/cve/CVE-2016-5425 [No Types Assigned] Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1362545 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Changed Description The Tomcat package on Red Hat Enterprise Linux (RHEL) 7, Fedora, CentOS, Oracle Linux, and possibly other Linux distributions uses weak permissions for /usr/lib/tmpfiles.d/tomcat.conf, which allows local users to gain root privileges by leveraging membership in the tomcat group. It was discovered that the Tomcat packages installed configuration file /usr/lib/tmpfiles.d/tomcat.conf writeable to the tomcat group. A member of the group or a malicious web application deployed on Tomcat could use this flaw to escalate their privileges. Added CVSS V2 Red Hat, Inc. (AV:L/AC:M/Au:N/C:C/I:C/A:C) Added CVSS V3 Red Hat, Inc. AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Removed Reference https://lists.apache.org/thread.html/6b414817c2b0bf351138911c8c922ec5dd577ebc0b9a7f42d705752d@%3Cissues.activemq.apache.org%3E [Mailing List, Vendor Advisory] Added Reference https://access.redhat.com/errata/RHSA-2016:2046 [No Types Assigned] Added Reference https://access.redhat.com/security/cve/CVE-2016-5425 [No Types Assigned] Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1362545 [No Types Assigned] Added Reference https://lists.apache.org/thread.html/6b414817c2b0bf351138911c8c922ec5dd577ebc0b9a7f42d705752d%40%3Cissues.activemq.apache.org%3E [No Types Assigned] Added Reference http://legalhackers.com/advisories/Tomcat-RedHat-based-Root-Privilege-Escalation-Exploit.txt [No Types Assigned] -
Modified Analysis by [email protected]
Jul. 23, 2020
Action Type Old Value New Value Removed CVSS V3 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://legalhackers.com/advisories/Tomcat-RedHat-Pkgs-Root-PrivEsc-Exploit-CVE-2016-5425.html Vendor Advisory http://legalhackers.com/advisories/Tomcat-RedHat-Pkgs-Root-PrivEsc-Exploit-CVE-2016-5425.html Exploit, Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/93472 Broken Link http://www.securityfocus.com/bid/93472 Third Party Advisory, VDB Entry Changed Reference Type http://www.securitytracker.com/id/1036979 No Types Assigned http://www.securitytracker.com/id/1036979 Third Party Advisory, VDB Entry Changed Reference Type https://lists.apache.org/thread.html/6b414817c2b0bf351138911c8c922ec5dd577ebc0b9a7f42d705752d@%3Cissues.activemq.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/6b414817c2b0bf351138911c8c922ec5dd577ebc0b9a7f42d705752d@%3Cissues.activemq.apache.org%3E Mailing List, Vendor Advisory Changed Reference Type https://www.exploit-db.com/exploits/40488/ No Types Assigned https://www.exploit-db.com/exploits/40488/ Third Party Advisory, VDB Entry Changed Reference Type https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html No Types Assigned https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html Third Party Advisory Removed CWE NIST CWE-264 Added CWE NIST CWE-276 Removed CPE Configuration OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Removed CPE Configuration OR *cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:* Changed CPE Configuration AND OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* AND OR *cpe:2.3:a:apache:tomcat:-:*:*:*:*:*:*:* OR cpe:2.3:a:oracle:instantis_enterprisetrack:17.1:*:*:*:*:*:*:* cpe:2.3:a:oracle:instantis_enterprisetrack:17.2:*:*:*:*:*:*:* cpe:2.3:a:oracle:instantis_enterprisetrack:17.3:*:*:*:*:*:*:* cpe:2.3:o:oracle:linux:7:-:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.7:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_tus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Dec. 27, 2019
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:o:oracle:linux:7.0:*:*:*:*:*:*:* OR *cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 16, 2019
Action Type Old Value New Value Added Reference https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html [No Types Assigned] -
CVE Modified by [email protected]
Sep. 25, 2019
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/6b414817c2b0bf351138911c8c922ec5dd577ebc0b9a7f42d705752d@%3Cissues.activemq.apache.org%3E [No Types Assigned] -
CVE Modified by [email protected]
Sep. 03, 2017
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/40488/ [No Types Assigned] -
CVE Modified by [email protected]
Jul. 30, 2017
Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1036979 [No Types Assigned] -
Modified Analysis by [email protected]
Oct. 31, 2016
Action Type Old Value New Value Changed CPE Configuration Configuration 1 AND OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Configuration 1 OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Configuration 2 AND OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Configuration 3 OR *cpe:2.3:o:oracle:linux:7.0:*:*:*:*:*:*:* Changed Reference Type http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html No Types Assigned http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html Third Party Advisory -
Initial Analysis by [email protected]
Oct. 28, 2016
Action Type Old Value New Value Changed CPE Configuration Configuration 1 AND OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Configuration 1 OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:o:oracle:linux:7.0:*:*:*:*:*:*:* Configuration 3 AND OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Changed Reference Type http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html No Types Assigned http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html Third Party Advisory -
CVE Modified by [email protected]
Oct. 27, 2016
Action Type Old Value New Value Added Reference http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html -
Modified Analysis by [email protected]
Oct. 18, 2016
Action Type Old Value New Value Added CPE Configuration Configuration 1 AND OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.securityfocus.com/bid/93472 No Types Assigned http://www.securityfocus.com/bid/93472 Broken Link Changed Reference Type http://rhn.redhat.com/errata/RHSA-2016-2046.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2016-2046.html Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2016/10/10/2 No Types Assigned http://www.openwall.com/lists/oss-security/2016/10/10/2 Third Party Advisory, Mailing List Changed Reference Type http://packetstormsecurity.com/files/139041/Apache-Tomcat-8-7-6-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/139041/Apache-Tomcat-8-7-6-Privilege-Escalation.html Third Party Advisory, VDB Entry, Exploit Changed Reference Type http://legalhackers.com/advisories/Tomcat-RedHat-Pkgs-Root-PrivEsc-Exploit-CVE-2016-5425.html No Types Assigned http://legalhackers.com/advisories/Tomcat-RedHat-Pkgs-Root-PrivEsc-Exploit-CVE-2016-5425.html Vendor Advisory Added CWE CWE-264 -
Initial Analysis by [email protected]
Oct. 14, 2016
Action Type Old Value New Value Changed CPE Configuration Configuration 1 OR *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Configuration 1 OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Configuration 2 AND OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* -
CVE Translated by [email protected]
Oct. 14, 2016
Action Type Old Value New Value -
Initial Analysis by [email protected]
Oct. 13, 2016
Action Type Old Value New Value Changed CPE Configuration Configuration 1 OR Configuration 1 OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.securityfocus.com/bid/93472 No Types Assigned http://www.securityfocus.com/bid/93472 Broken Link Changed Reference Type http://rhn.redhat.com/errata/RHSA-2016-2046.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2016-2046.html Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2016/10/10/2 No Types Assigned http://www.openwall.com/lists/oss-security/2016/10/10/2 Mailing List, Third Party Advisory Changed Reference Type http://packetstormsecurity.com/files/139041/Apache-Tomcat-8-7-6-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/139041/Apache-Tomcat-8-7-6-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://legalhackers.com/advisories/Tomcat-RedHat-Pkgs-Root-PrivEsc-Exploit-CVE-2016-5425.html No Types Assigned http://legalhackers.com/advisories/Tomcat-RedHat-Pkgs-Root-PrivEsc-Exploit-CVE-2016-5425.html Vendor Advisory Added CWE CWE-264
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2016-5425
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2016-5425
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.13 }} 0.06%
score
0.45983
percentile