CVE-2016-6794: Medium severity Apache Tomcat vulnerability

Published Nov 1, 2016
·
Updated

Last updated 18 August 2025

Other sources

The following flaw was found in Tomcat:

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.

Upstream patches:

6.0.47: https://svn.apache.org/viewvc?view=revision&revision=1754733 7.0.72: https://svn.apache.org/viewvc?view=revision&revision=1754728 8.5.5: https://svn.apache.org/viewvc?view=revision&revision=1754726 8.0.37: https://svn.apache.org/viewvc?view=revision&revision=1754727

External References:

https://tomcat.apache.org/security-6.html#FixedinApacheTomcat6.0.47 https://tomcat.apache.org/security-7.html#FixedinApacheTomcat7.0.72 https://tomcat.apache.org/security-8.html#FixedinApacheTomcat8.5.5and8.0.37

Red Hat

When a SecurityManager is configured, a web application's ability to read system properties should be controlled by the SecurityManager. In Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70, 6.0.0 to 6.0.45 the 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.

Launchpad

Affected Software

50 affected componentsFixes available
debian/tomcat6
redhat/tomcat<6.0.47
6.0.47
redhat/tomcat<7.0.72
7.0.72
redhat/tomcat<8.5.5
8.5.5
redhat/tomcat<8.0.37
8.0.37
maven/org.apache.tomcat:tomcat>=9.0.0.M1<=9.0.0.M9
9.0.0.M10
maven/org.apache.tomcat:tomcat>=8.1.0<8.5.5
8.5.5
maven/org.apache.tomcat:tomcat>=8.0.0<8.0.37
8.0.37
maven/org.apache.tomcat:tomcat>=7.0.0<7.0.72
7.0.72
maven/org.apache.tomcat:tomcat>=6.0.0<6.0.47
6.0.47
Apache Tomcat>=6.0.0<=6.0.45
Apache Tomcat>=7.0.0<=7.0.70
Apache Tomcat>=8.0<=8.0.36
Apache Tomcat>=8.5.0<=8.5.4
Apache Tomcat=9.0.0-milestone1
Apache Tomcat=9.0.0-milestone2
Apache Tomcat=9.0.0-milestone3
Apache Tomcat=9.0.0-milestone4
Apache Tomcat=9.0.0-milestone5
Apache Tomcat=9.0.0-milestone6
Apache Tomcat=9.0.0-milestone7
Apache Tomcat=9.0.0-milestone8
Apache Tomcat=9.0.0-milestone9
Debian Debian Linux=8.0
redhat Jboss Enterprise Web Server=3.0.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=7.4
redhat Enterprise Linux Eus=7.5
redhat Enterprise Linux Eus=7.6
redhat Enterprise Linux Eus=7.7
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Workstation=7.0
NetApp OnCommand Insight
NetApp Oncommand Shift
NetApp Snap Creator Framework
Canonical Ubuntu Linux=16.04
Oracle Tekelec Platform Distribution>=7.4.0<=7.7.1
Apache Tomcat=9.0.0-m1
Apache Tomcat=9.0.0-m2
Apache Tomcat=9.0.0-m3
Apache Tomcat=9.0.0-m4
Apache Tomcat=9.0.0-m5
Apache Tomcat=9.0.0-m6
Apache Tomcat=9.0.0-m7
Apache Tomcat=9.0.0-m8
Apache Tomcat=9.0.0-m9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/tomcat to a version that resolves this vulnerability.

    Fixed in 6.0.47
  2. Upgrade

    Upgrade redhat/tomcat to a version that resolves this vulnerability.

    Fixed in 7.0.72
  3. Upgrade

    Upgrade redhat/tomcat to a version that resolves this vulnerability.

    Fixed in 8.5.5
  4. Upgrade

    Upgrade redhat/tomcat to a version that resolves this vulnerability.

    Fixed in 8.0.37
  5. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 9.0.0.M10
  6. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 8.5.5
  7. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 8.0.37
  8. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 7.0.72
  9. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 6.0.47
  10. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 6.0.47Patch 1754733
  11. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 7.0.72Patch 1754728
  12. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 8.0.37Patch 1754727
  13. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 8.5.5Patch 1754726

Event History

Nov 1, 2016
Data Sourced
via Red Hat·09:56 AM
DescriptionSeverityAffected Software
Aug 10, 2017
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionWeakness
Data Sourced
via NVD·04:29 PM
RemedyDescriptionSeverityAffected Software
May 13, 2022
Advisory Published
via GitHub·01:02 AM
Aug 10, 2025
Data Sourced
via Debian·02:24 AM
DescriptionAffected Software
Aug 26, 2025
Data Sourced
via Ubuntu·02:27 AM
RemedyDescriptionSeverityAffected Software
Sep 19, 2025
Data Sourced
via Launchpad·02:34 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-6794?

CVE-2016-6794 is classified as a moderate severity vulnerability.

2

How do I fix CVE-2016-6794?

To fix CVE-2016-6794, update Tomcat to version 6.0.47 or later, 7.0.72 or later, 8.0.37 or later, or 8.5.5 or later.

3

What systems are affected by CVE-2016-6794?

CVE-2016-6794 affects Apache Tomcat versions prior to 6.0.47, 7.0.72, 8.0.37, and 8.5.5, as well as earlier milestone versions of Tomcat 9.0.

4

What does CVE-2016-6794 exploit?

CVE-2016-6794 exploits the improper control of a web application’s ability to read system properties when a SecurityManager is configured.

5

Is there a workaround for CVE-2016-6794?

While updating to the fixed versions is recommended, temporarily disabling the system property replacement feature in Tomcat can mitigate some risks associated with CVE-2016-6794.

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