CVE-2016-6794
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.
What to do
Fixed builds are available from Maven, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | tomcat6 | Fixed | 6.0.45+dfsg-1ubuntu0.1 | UBUNTU-CVE-2016-6794 |
| Ubuntu 16.04 | tomcat7 | Fixed | 7.0.68-1ubuntu0.3 | UBUNTU-CVE-2016-6794 |
| Ubuntu 16.04 | tomcat8 | Fixed | 8.0.32-1ubuntu1.3 | UBUNTU-CVE-2016-6794 |
| Ubuntu 14.04 | tomcat6 | Fix pending | UBUNTU-CVE-2016-6794 | |
| Ubuntu 14.04 | tomcat7 | Fixed | 7.0.52-1ubuntu0.8 | UBUNTU-CVE-2016-6794 |
| Red Hat Enterprise Linux 7 | tomcat | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 7 | tomcat-lib | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 7 | tomcat-webapps | Fixed | 0:7.0.76-2.el7 | RHSA-2017:2247 |
| Red Hat Enterprise Linux 6 | tomcat6 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tomcat6-lib | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tomcat6-log4j | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | tomcat5 | Will not fix Will not fix | ||
| Maven library | org.apache.tomcat:tomcat | Fixed | 7.0.72 | GHSA-2rvf-329f-p99g |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Tomcat: affected: 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
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:2247 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2017-0457.html (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:0455 (vendor-advisory)
- http://www.debian.org/security/2016/dsa-3720 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:0456 (vendor-advisory)
- https://usn.ubuntu.com/4557-1/ (vendor-advisory)
References
- https://lists.apache.org/thread.html/09d2f2c65ac4ff5da42f15dc2b0f78b655e50f1a42e8a9784134a9eb%40%3Cannounce.tomcat.apache.org%3E
- https://access.redhat.com/errata/RHSA-2017:2247
- http://rhn.redhat.com/errata/RHSA-2017-0457.html
- https://access.redhat.com/errata/RHSA-2017:0455
- http://www.securitytracker.com/id/1037143
- http://www.debian.org/security/2016/dsa-3720
- http://www.securityfocus.com/bid/93943
- https://access.redhat.com/errata/RHSA-2017:0456
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.