Bug 1390520 (CVE-2016-6794)

Summary: CVE-2016-6794 tomcat: system property disclosure
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aileenc, alazarot, alee, aszczucz, bbaranow, bmaxwell, ccoleman, cdewolf, chazlett, coolsvap, csutherl, dandread, darran.lofthouse, dedgar, dmcphers, dosoudil, etirelli, fnasser, gvarsami, gzaronik, huwang, ivan.afonichev, jason.greene, java-sig-commits, jawilson, jboss-set, jclere, jcoleman, jdg-bugs, jdoyle, jgoulding, jialiu, jokerman, jolee, jshepherd, krzysztof.daniel, kverlaen, ldimaggi, lgao, lmeyer, mbabacek, mbaluch, mmccomas, mwinkler, myarboro, nwallace, pslavice, psotirop, rnetuka, rrajasek, rsvoboda, rwagner, rzhang, soa-p-jira, tcunning, theute, tkirby, ttarrant, twalsh, vtunka, weli, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tomcat 6.0.47, tomcat 7.0.72, tomcat 8.5.5, tomcat 8.0.37 Doc Type: If docs needed, set a value
Doc Text:
It was discovered that when a SecurityManager was configured, 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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-27 10:52:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1390531, 1390532, 1390533, 1393222, 1393223    
Bug Blocks: 1376651, 1390534, 1415638, 1428325    

Description Martin Prpič 2016-11-01 09:56:47 UTC
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#Fixed_in_Apache_Tomcat_6.0.47
https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.72
https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.5_and_8.0.37

Comment 2 Martin Prpič 2016-11-01 10:23:22 UTC
Created tomcat tracking bugs for this issue:

Affects: fedora-all [bug 1390532]
Affects: epel-6 [bug 1390533]

Comment 6 errata-xmlrpc 2017-03-07 19:09:06 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 3.1.0

Via RHSA-2017:0457 https://rhn.redhat.com/errata/RHSA-2017-0457.html

Comment 7 errata-xmlrpc 2017-03-07 19:13:40 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 3 for RHEL 7

Via RHSA-2017:0456 https://access.redhat.com/errata/RHSA-2017:0456

Comment 8 errata-xmlrpc 2017-03-07 19:18:11 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 3 for RHEL 6

Via RHSA-2017:0455 https://access.redhat.com/errata/RHSA-2017:0455

Comment 9 errata-xmlrpc 2017-08-01 23:19:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2247 https://access.redhat.com/errata/RHSA-2017:2247

Comment 10 Joshua Padman 2019-05-16 03:45:27 UTC
This vulnerability is out of security support scope for the following product:
 * Red Hat JBoss Operations Network 3
 * Red Hat JBoss Data Grid 6
 * Red Hat JBoss BRMS 5
 * Red Hat JBoss Data Virtualization & Services 6
 * Red Hat JBoss Fuse Service Works 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.