CVE-2016-6325: High severity Apache Tomcat vulnerability
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.
Other sources
It was discovered that Tomcat packages in certain versions of Red Hat Enterprise Linux use incorrect permissions for /etc/sysconfig/tomcat configuration files. The file is writable to tomcat group (root:tomcat, 664). On systems using classic /etc/init.d init scripts (i.e. on Red Hat Enterprise Linux 6 and earlier), the file is sourced by the Tomcat init script and its content executed with root privileges when Tomcat service is started, stopped or restarted.
On Red Hat Enterprise Linux 7 using systemd, the file is not longer directly executed with root privileges, but it's still used to initialize environment for the Tomcat service. This would not allow a malicious or compromised web application deployed on Tomcat and already running with tomcat user privileges to directly escalate privileges.
— Red Hat
The Tomcat package on Red Hat Enterprise Linux (RHEL) 5 through 7, JBoss Web Server 3.0, and JBoss EWS 2 uses weak permissions for (1) /etc/sysconfig/tomcat and (2) /etc/tomcat/tomcat.conf, which allows local users to gain privileges by leveraging membership in the tomcat group.
Affected Software
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2016-6325?
CVE-2016-6325 is classified as a medium-severity vulnerability.
What are the potential impacts of CVE-2016-6325?
CVE-2016-6325 can allow a member of the tomcat group or a malicious web application to escalate privileges.
How do I fix CVE-2016-6325?
To fix CVE-2016-6325, update the Tomcat package to version 6.0.24-98.el6_8, 7.0.54-8.el7_2 or later.
Which versions are affected by CVE-2016-6325?
CVE-2016-6325 affects Apache Tomcat versions prior to the patched versions 6.0.24-98.el6_8 and 7.0.54-8.el7_2.
Is CVE-2016-6325 present in my current software version?
To determine if CVE-2016-6325 is present, check if you are using any affected versions of Tomcat listed in the vulnerability report.