CVE-2016-6794 System Property Disclosure in Apache Tomcat
A malicious web application can bypass SecurityManager restrictions to read sensitive system properties in Apache Tomcat.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-6794?
CVE-2016-6794 is a medium-severity vulnerability in Apache Tomcat, published on 10 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2016-6794?
10 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 14 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | From 6.0.0 | 6.0.47 |
org.apache.tomcat:tomcat Maven | From 6.0.0 | 6.0.47 |
org.apache.tomcat:tomcat Maven | From 7.0.0 | 7.0.72 |
org.apache.tomcat:tomcat Maven | From 7.0.0 | 7.0.72 |
org.apache.tomcat:tomcat Maven | From 8.0.0 | 8.0.37 |
org.apache.tomcat:tomcat Maven | From 8.0.0 | 8.0.37 |
4 more packages
org.apache.tomcat:tomcat Maven | From 8.1.0 | 8.5.5 |
org.apache.tomcat:tomcat Maven | From 8.1.0 | 8.5.5 |
org.apache.tomcat:tomcat Maven | From 9.0.0.M1 | 9.0.0.M10 |
org.apache.tomcat:tomcat Maven | From 9.0.0.M1 | 9.0.0.M10 |
Products include Apache Tomcat, Canonical Ubuntu Linux, Debian Debian Linux, Netapp Oncommand Insight, Netapp Oncommand Shift, Netapp Snap Creator Framework and 8 more.
How do I fix CVE-2016-6794?
Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 6.0.47, 7.0.72, 8.0.37 or 8.5.5.
Is CVE-2016-6794 being exploited?
There is no known exploitation of CVE-2016-6794 in the wild and no public exploit code.
Other vulnerabilities in Apache Tomcat
Sources
Also known as GHSA-2rvf-329f-p99g, UBUNTU-CVE-2016-6794.