CVE-2016-6794: Medium severity Apache Tomcat vulnerability

Published Nov 1, 2016
·
Updated

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

Other sources

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.

— Ubuntu

Affected Software

52 affected componentsFixes available
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-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
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
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
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/tomcat6
6.0.45+dfsg-1~deb7u36.0.41-3
debian/tomcat7
7.0.28-4+deb7u77.0.56-3+deb8u57.0.72-1
debian/tomcat8
8.0.14-1+deb8u48.0.37-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 9.0.0.M10
  2. Upgrade

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

    Fixed in 8.5.5
  3. Upgrade

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

    Fixed in 8.0.37
  4. Upgrade

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

    Fixed in 7.0.72
  5. Upgrade

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

    Fixed in 6.0.47
  6. Upgrade

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

    Fixed in 6.0.47
  7. Upgrade

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

    Fixed in 7.0.72
  8. Upgrade

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

    Fixed in 8.5.5
  9. Upgrade

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

    Fixed in 8.0.37
  10. Upgrade

    Upgrade debian/tomcat6 to a version that resolves this vulnerability.

    Fixed in 6.0.45+dfsg-1~deb7u3Fixed in 6.0.41-3
  11. Upgrade

    Upgrade debian/tomcat7 to a version that resolves this vulnerability.

    Fixed in 7.0.28-4+deb7u7Fixed in 7.0.56-3+deb8u5Fixed in 7.0.72-1
  12. Upgrade

    Upgrade debian/tomcat8 to a version that resolves this vulnerability.

    Fixed in 8.0.14-1+deb8u4Fixed in 8.0.37-1
  13. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 6.0.47
  14. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 7.0.72
  15. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 8.0.37
  16. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 8.5.5

Event History

Oct 27, 2016
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Oct 28, 2016
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Aug 10, 2017
CVE Published
via MITRE·04:00 PM
Oct 27, 2021
Data Sourced
via Red Hat·10:52 AM
DescriptionSeverityAffected Software
May 13, 2022
Advisory Published
01:02 AM
Nov 7, 2023
Updated
02:34 AM
RemedyAffected Software
Dec 8, 2023
Data Sourced
via NVD·04:41 PM
RemedyDescriptionSeverityAffected Software
Updated
04:41 PM
Affected Software
Advisory Published
10:33 PM
Feb 22, 2024
Data Sourced
via GitHub·08:00 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·02:56 AM
RemedyAffected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
Affected Software
Aug 18, 2025
Updated
via Ubuntu·12:00 AM
Description
May 13, 2026
Updated
via NVD·12:24 AM
Affected Software
Oct 15, 2026
Updated
via NVD·04:17 PM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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