Advisory Published
Updated

REDHAT-BUG-730400

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>

Affected SoftwareAffected VersionHow to fix
Apache Tomcat>=6.0.30<6.0.33
Apache Tomcat>=5.5.32<5.5.34
Apache Commons Daemon>=1.0.3<1.0.7

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.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-730400?

    The severity of REDHAT-BUG-730400 is high due to the potential for unauthorized access to system files and directories owned by the superuser.

  • How do I fix REDHAT-BUG-730400?

    To fix REDHAT-BUG-730400, users should upgrade to a patched version of Apache Tomcat 5 or 6, or ensure jsvc is configured to drop unnecessary capabilities.

  • Which versions of Apache Tomcat are affected by REDHAT-BUG-730400?

    Apache Tomcat 5 versions between 5.5.32 and 5.5.34, and Apache Tomcat 6 versions between 6.0.30 and 6.0.33 are affected by REDHAT-BUG-730400.

  • What is jsvc in the context of REDHAT-BUG-730400?

    In the context of REDHAT-BUG-730400, jsvc is a service wrapper for Linux that allows Java applications to be run as a service.

  • What can happen if REDHAT-BUG-730400 is exploited?

    If REDHAT-BUG-730400 is exploited, it could allow an attacker to gain access to sensitive files and directories that are normally restricted to the superuser.

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