Every CVE Search/ Get API key

CVE-2016-5425

The Tomcat package on Red Hat Enterprise Linux (RHEL) 7, Fedora, CentOS, Oracle Linux, and...

7.8 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.78%Down 7.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2016-5425
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-276
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-5425
Updated
2026-11-02
EUVDEUVD-2016-6370 No score

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.

Record
EUVD-2016-6370
Updated
2026-11-03
GitHub AdvisoriesGHSA-c7fc-mp9g-99j3 7.8

The Tomcat package on Red Hat Enterprise Linux (RHEL) 7, Fedora, CentOS, Oracle Linux, and...

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.

Record
GHSA-c7fc-mp9g-99j3
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-276
Updated
2026-11-02
OSVRHSA-2016:2046 8.1

Red Hat Security Advisory: tomcat security update

Record
RHSA-2016:2046
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2016-0367 No score

Updated tomcat packages fix security vulnerability

The Realm implementations did not process the supplied password if the supplied user name did not exist. This made a timing attack possible to determine valid user names. Note that the default configuration includes the LockOutRealm which makes exploitation of this vulnerability harder (CVE-2016-0762).

A malicious web application was able to bypass a configured SecurityManager via a Tomcat utility method that was accessible to web applications (CVE-2016-5018).

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 (CVE-2016-5425).

It was discovered that the Tomcat packages installed certain configuration files read by the Tomcat initialization script as 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 (CVE-2016-6325).

When a SecurityManager is configured, a web application's ability to read system properties should be controlled by the SecurityManager. Tomcat's system property replacement feature for configuration files could be used by a malicious web application to bypass the SecurityManager and read system properties that should not be visible (CVE-2016-6794).

A malicious web application was able to bypass a configured SecurityManager via manipulation of the configuration parameters for the JSP Servlet (CVE-2016-6796).

The ResourceLinkFactory did not limit web application access to global JNDI resources to those resources explicitly linked to the web application. Therefore, it was possible for a web application to access any global JNDI resource whether an explicit ResourceLink had been configured or not (CVE-2016-6797).

Record
MGASA-2016-0367
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tomcat
Mageia:5
before 7.0.72-1.mga5
7.0.72-1.mga5
tomcat
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-servlet-3.0-api
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-admin-webapps
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-docs-webapp
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-el-2.2-api
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-javadoc
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-jsp-2.2-api
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-jsvc
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-lib
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
Show 31 moreShow less
Affected packages
PackageAffectedFixed
tomcat-webapps
Red Hat:enterprise_linux:7::client
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-servlet-3.0-api
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-admin-webapps
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-docs-webapp
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-el-2.2-api
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-javadoc
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-jsp-2.2-api
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-jsvc
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-lib
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-webapps
Red Hat:enterprise_linux:7::computenode
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-admin-webapps
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-el-2.2-api
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-jsp-2.2-api
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-lib
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-servlet-3.0-api
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-webapps
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-docs-webapp
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-javadoc
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-jsvc
Red Hat:enterprise_linux:7::server
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-admin-webapps
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-el-2.2-api
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-jsp-2.2-api
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-lib
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-servlet-3.0-api
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-webapps
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-docs-webapp
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-javadoc
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
tomcat-jsvc
Red Hat:enterprise_linux:7::workstation
before 0:7.0.54-8.el7_2
0:7.0.54-8.el7_2

Public exploits

Links only. Every CVE stores no exploit code.

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, Metasploit, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-5425 is a high vulnerability (CVSS 7.8) in Apache Tomcat, published October 13, 2016. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 3.78%, the 89th percentile. Fixed in tomcat 7.0.72-1.mga5.

References

Show 41 moreShow less
MoveEnter Open