Bug 675792 (CVE-2010-3718) - CVE-2010-3718 tomcat: file permission bypass flaw
Summary: CVE-2010-3718 tomcat: file permission bypass flaw
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2010-3718
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 675794 675795 675923 675924 675925 675926 675931 675933 802294
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-07 18:55 UTC by Vincent Danen
Modified: 2021-02-24 16:36 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-10 18:50:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0791 0 normal SHIPPED_LIVE Moderate: tomcat6 security and bug fix update 2011-05-19 10:58:07 UTC
Red Hat Product Errata RHSA-2011:0896 0 normal SHIPPED_LIVE Moderate: JBoss Enterprise Web Server 1.0.2 update 2011-06-22 23:16:28 UTC
Red Hat Product Errata RHSA-2011:0897 0 normal SHIPPED_LIVE Moderate: JBoss Enterprise Web Server 1.0.2 update 2011-06-22 23:38:13 UTC
Red Hat Product Errata RHSA-2011:1845 0 normal SHIPPED_LIVE Moderate: tomcat5 security update 2011-12-20 22:21:27 UTC

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)


Note You need to log in before you can comment on or make changes to this bug.