First published: Fri Aug 12 2011(Updated: )
A bug in the capabilities code of tomcat5 [1] and tomcat6 [1] was identified in jsvc (the service wrapper for Linux that is part of the Commons Daemon project). jsvc would not drop capabilities, allowing the application to access files and directories owned by the superuser. The vulnerability only occurred when the following conditions were true: * Tomcat is running on Linux * jsvc is compiled with libcap * -user parameter is used This affects Tomcat 6.0.30-6.0.32 and is fixed in r1153824 [3] and Tomcat 5.5.32-5.5.33, a proposed patch is available [4], however all these do is update the build files to use the latest Apache Commons Daemon. The real flaw is in the Apache Commons Daemon, and is fixed in upstream 1.0.7 [5]. According to the bug report [6] Commons Daemon 1.0.3-1.0.6 are affected and it is fixed in r11152701 [7]. [1] <a href="http://tomcat.apache.org/security-5.html">http://tomcat.apache.org/security-5.html</a> [2] <a href="http://tomcat.apache.org/security-6.html">http://tomcat.apache.org/security-6.html</a> [3] <a href="http://svn.apache.org/viewvc?view=revision&revision=1153824">http://svn.apache.org/viewvc?view=revision&revision=1153824</a> [4] <a href="http://people.apache.org/~markt/patches/2011-08-12-cve2011-2729-tc5.patch">http://people.apache.org/~markt/patches/2011-08-12-cve2011-2729-tc5.patch</a> [5] <a href="http://mail-archives.apache.org/mod_mbox/commons-dev/201108.mbox/%3C4E451B2B.9090108@apache.org%3E">http://mail-archives.apache.org/mod_mbox/commons-dev/201108.mbox/%3C4E451B2B.9090108@apache.org%3E</a> [6] <a href="https://issues.apache.org/jira/browse/DAEMON-214">https://issues.apache.org/jira/browse/DAEMON-214</a> [7] <a href="http://svn.apache.org/viewvc?view=revision&revision=1152701">http://svn.apache.org/viewvc?view=revision&revision=1152701</a>
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Apache Apache Commons Daemon | =1.0.3 | |
Apache Apache Commons Daemon | =1.0.4 | |
Apache Apache Commons Daemon | =1.0.5 | |
Apache Apache Commons Daemon | =1.0.6 | |
Apache Tomcat | =5.5.32 | |
Apache Tomcat | =5.5.33 | |
Linux Linux kernel | ||
Apache Tomcat | =6.0.30 | |
Apache Tomcat | =6.0.31 | |
Apache Tomcat | =6.0.32 | |
Apache Apache Commons Daemon | =1.0.3 | |
Apache Apache Commons Daemon | =1.0.4 | |
Apache Apache Commons Daemon | =1.0.5 | |
Apache Apache Commons Daemon | =1.0.6 | |
Apache Tomcat | =7.0.0 | |
Apache Tomcat | =7.0.0-beta | |
Apache Tomcat | =7.0.1 | |
Apache Tomcat | =7.0.2 | |
Apache Tomcat | =7.0.3 | |
Apache Tomcat | =7.0.4 | |
Apache Tomcat | =7.0.5 | |
Apache Tomcat | =7.0.6 | |
Apache Tomcat | =7.0.7 | |
Apache Tomcat | =7.0.8 | |
Apache Tomcat | =7.0.9 | |
Apache Tomcat | =7.0.10 | |
Apache Tomcat | =7.0.11 | |
Apache Tomcat | =7.0.12 | |
Apache Tomcat | =7.0.13 | |
Apache Tomcat | =7.0.14 | |
Apache Tomcat | =7.0.16 | |
Apache Tomcat | =7.0.17 | |
Apache Tomcat | =7.0.19 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.