Bug 675792 (CVE-2010-3718)

Summary: CVE-2010-3718 tomcat: file permission bypass flaw
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alee, awnuk, cfu, devrim, djorm, dknox, dwalluck, jmagne, jscotka, mharmsen, pcheung, sochotni, tromey
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-10 18:50:56 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: 675794, 675795, 675923, 675924, 675925, 675926, 675931, 675933, 802294    
Bug Blocks:    

Description Vincent Danen 2011-02-07 18:55:27 UTC
Apache Tomcat 5.5.30 and 6.0.30 were released [1],[2] to fix, among other things, a bypass of security manager file permissions.  The work directory that web applications are granted read/write access is determined by a ServletContext attribute that is supposed to be a read-only attribute to web applications.  Due to a coding error, a web application could modify the attribute before Tomcat applied file permissions, which could allow a malicious web application to set the work directory to any area of the file system, granting that web application read/write permissions to the specified directory.

This vulnerability is only applicable in environments that host web applications from untrusted sources, such as in shared hosting environments.

For Tomcat 5.5.x, this was fixed in upstream revision 1027610 [4] and for Tomcat 6.x it was fixed in upstream revision 1022560 [5].

[1] http://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.5.30
[2] http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.30
[3] http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0074.html
[4] http://svn.apache.org/viewvc?rev=1027610&view=rev
[5] http://svn.apache.org/viewvc?rev=1022560&view=rev

Comment 1 Vincent Danen 2011-02-07 19:02:26 UTC
Created tomcat6 tracking bugs for this issue

Affects: fedora-all [bug 675794]

Comment 2 Vincent Danen 2011-02-07 19:02:29 UTC
Created tomcat5 tracking bugs for this issue

Affects: fedora-all [bug 675795]

Comment 10 errata-xmlrpc 2011-05-19 10:58:25 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0791 https://rhn.redhat.com/errata/RHSA-2011-0791.html

Comment 11 errata-xmlrpc 2011-05-19 14:29:23 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0791 https://rhn.redhat.com/errata/RHSA-2011-0791.html

Comment 12 errata-xmlrpc 2011-06-22 23:17:09 UTC
This issue has been addressed in following products:

  JBoss Enterprise Web Server 1.0

Via RHSA-2011:0896 https://rhn.redhat.com/errata/RHSA-2011-0896.html

Comment 13 errata-xmlrpc 2011-06-22 23:38:45 UTC
This issue has been addressed in following products:

  JBEWS 1.0 for RHEL 5
  JBEWS 1.0 for RHEL 4
  JBEWS 1 for RHEL 6

Via RHSA-2011:0897 https://rhn.redhat.com/errata/RHSA-2011-0897.html

Comment 15 errata-xmlrpc 2011-12-20 17:25:54 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:1845 https://rhn.redhat.com/errata/RHSA-2011-1845.html

Comment 16 Vincent Danen 2011-12-20 17:46:30 UTC
Statement:

(none)