CWE
264
Advisory Published
CVE Published
Updated

CVE-2011-2729

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&amp;revision=1153824">http://svn.apache.org/viewvc?view=revision&amp;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&amp;revision=1152701">http://svn.apache.org/viewvc?view=revision&amp;revision=1152701</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Apache Commons Daemon=1.0.3
Apache Commons Daemon=1.0.4
Apache Commons Daemon=1.0.5
Apache Commons Daemon=1.0.6
Tomcat=5.5.32
Tomcat=5.5.33
Linux Kernel
Tomcat=6.0.30
Tomcat=6.0.31
Tomcat=6.0.32
Apache Commons Daemon=1.0.3
Apache Commons Daemon=1.0.4
Apache Commons Daemon=1.0.5
Apache Commons Daemon=1.0.6
Tomcat=7.0.0
Tomcat=7.0.0-beta
Tomcat=7.0.1
Tomcat=7.0.2
Tomcat=7.0.3
Tomcat=7.0.4
Tomcat=7.0.5
Tomcat=7.0.6
Tomcat=7.0.7
Tomcat=7.0.8
Tomcat=7.0.9
Tomcat=7.0.10
Tomcat=7.0.11
Tomcat=7.0.12
Tomcat=7.0.13
Tomcat=7.0.14
Tomcat=7.0.16
Tomcat=7.0.17
Tomcat=7.0.19

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2011-2729?

    CVE-2011-2729 is considered a high severity vulnerability due to its potential to allow unauthorized access to superuser files.

  • How do I fix CVE-2011-2729?

    To fix CVE-2011-2729, it is recommended to update Apache Tomcat and Apache Commons Daemon to the latest versions available.

  • Which versions are affected by CVE-2011-2729?

    CVE-2011-2729 affects Apache Tomcat versions 5.5.32, 5.5.33, and 6.0.30 to 6.0.32.

  • Can CVE-2011-2729 affect my web applications?

    Yes, CVE-2011-2729 can affect web applications running on vulnerable versions of Apache Tomcat, potentially compromising file security.

  • Is there a workaround for CVE-2011-2729?

    A possible workaround for CVE-2011-2729 is to limit user permissions and implement stricter access controls on system files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203