Apache Tomcat Commons Daemon jsvc Lets Local Users Gain Elevated Privileges
SecurityTracker Alert ID: 1025925|
SecurityTracker URL: http://securitytracker.com/id/1025925
(Links to External Site)
Date: Aug 12 2011
User access via local system|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): 5.5.32 to 5.5.33, 6.0.30 to 6.0.32, 7.0.0 to 7.0.19|
A vulnerability was reported in Apache Tomcat. A local user can obtain elevated privileges on the target system in certain cases.|
The Common Daemon jsvc service wrapper does not drop capabilities. The application can access files and directories that are owned by the superuser.
Only Linux-based systems are affected.
Systems where jsvc was compiled with libcap and where the '-user' parameter is invoked are affected.
Wilfried Weissmann reported this vulnerability.
A local user can access files and directories that are owned by the superuser.|
The vendor has issued a fix (7.0.20).|
A fix will be released for future versions of 5.5.x and 6.0.x.
The vendor's advisory is available at:
Vendor URL: tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.20 (Links to External Site)
Access control error|
|Underlying OS: Linux (Any)|
|Underlying OS Comments: Linux only|
Source Message Contents
Subject: [Full-disclosure] [SECURITY] CVE-2011-2729: Commons Daemon fails to drop capabilities (Apache Tomcat)|
CVE-2011-2729: Commons Daemon fails to drop capabilities (Apache Tomcat)
The Apache Software Foundation
Tomcat 7.0.0 to 7.0.19
Tomcat 6.0.30 to 6.0.32
Tomcat 5.5.32 to 5.5.33
Due to a bug in the capabilities code, jsvc (the service wrapper for
Linux that is part of the Commons Daemon project) does not drop
capabilities allowing the application to access files and directories
owned by superuser. This vulnerability only applies if:
a) Tomcat is running on a Linux operating system
b) jsvc was compiled with libcap
c) -user parameter is used
The Tomcat versions above shipped with source files for jsvc that
included this vulnerability.
Affected users of all versions can mitigate these vulnerabilities by
taking any of the following actions:
a) upgrade to jsvc 1.0.7 or later
b) do not use -user parameter to switch user
c) recompile the jsvc without libcap support
Updated jsvc source is included in Apache Tomcat 7.0.20 and will be
included in the next releases of Tomcat 6.0.x and 5.5.x. Updated source
can be obtained from the Apache Commons Daemon project.
This issue was identified by Wilfried Weissmann.
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/