CVE-2016-6325: High severity Apache Tomcat vulnerability

Published Aug 16, 2016
·
Updated

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

35 affected componentsFixes available
redhat/tomcat6<0:6.0.24-98.el6_8
0:6.0.24-98.el6_8
redhat/tomcat<0:7.0.54-8.el7_2
0:7.0.54-8.el7_2
redhat/hibernate4-eap6<0:4.2.23-1.Final_redhat_1.1.ep6.el6
0:4.2.23-1.Final_redhat_1.1.ep6.el6
redhat/jbcs-httpd24<0:1-3.jbcs.el6
0:1-3.jbcs.el6
redhat/jbcs-httpd24-apache-commons-daemon<0:1.0.15-1.redhat_2.1.jbcs.el6
0:1.0.15-1.redhat_2.1.jbcs.el6
redhat/jbcs-httpd24-apache-commons-daemon-jsvc<1:1.0.15-17.redhat_2.jbcs.el6
1:1.0.15-17.redhat_2.jbcs.el6
redhat/tomcat7<0:7.0.70-16.ep7.el6
0:7.0.70-16.ep7.el6
redhat/tomcat8<0:8.0.36-17.ep7.el6
0:8.0.36-17.ep7.el6
redhat/tomcat-native<0:1.2.8-9.redhat_9.ep7.el6
0:1.2.8-9.redhat_9.ep7.el6
redhat/tomcat-vault<0:1.0.8-9.Final_redhat_2.1.ep7.el6
0:1.0.8-9.Final_redhat_2.1.ep7.el6
redhat/hibernate4-eap6<0:4.2.23-1.Final_redhat_1.1.ep6.el7
0:4.2.23-1.Final_redhat_1.1.ep6.el7
redhat/jbcs-httpd24<0:1-3.jbcs.el7
0:1-3.jbcs.el7
redhat/jbcs-httpd24-apache-commons-daemon<0:1.0.15-1.redhat_2.1.jbcs.el7
0:1.0.15-1.redhat_2.1.jbcs.el7
redhat/jbcs-httpd24-apache-commons-daemon-jsvc<1:1.0.15-17.redhat_2.jbcs.el7
1:1.0.15-17.redhat_2.jbcs.el7
redhat/tomcat7<0:7.0.70-16.ep7.el7
0:7.0.70-16.ep7.el7
redhat/tomcat8<0:8.0.36-17.ep7.el7
0:8.0.36-17.ep7.el7
redhat/tomcat-native<0:1.2.8-9.redhat_9.ep7.el7
0:1.2.8-9.redhat_9.ep7.el7
redhat/tomcat-vault<0:1.0.8-9.Final_redhat_2.1.ep7.el7
0:1.0.8-9.Final_redhat_2.1.ep7.el7
Apache Tomcat
redhat Jboss Enterprise Web Server=2.0.0
redhat Jboss Web Server=3.0
redhat Enterprise Linux=5.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=6.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Hpc Node Eus=7.2
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.2
redhat Enterprise Linux Server Eus=7.2
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0

Event History

Aug 16, 2016
Data Sourced
via Red Hat·12:33 PM
DescriptionSeverityAffected Software
Oct 10, 2016
CVE Published
12:00 AM
Oct 13, 2016
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-6325?

CVE-2016-6325 is classified as a medium-severity vulnerability.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203