Bugzilla – Bug 735342
VUL-0: CVE-2011-3145: ecryptfs-utils: incorrect mtab group ownership
Last modified: 2012-06-02 08:29:03 UTC
When mount.ecrpytfs_private calls set setreuid() it doesn't also set the effective group id. So when it creates the new version, mtab.tmp, it's created with the group id of the user running mount.ecryptfs_private. Reference: https://launchpad.net/bugs/830850
patch available at: https://bugzilla.redhat.com/attachment.cgi?id=519393&action=diff
the presence of the flaw makes the previous security fixes in the mtab area again influencable by the current user. A local attacker could write to /etc/mtab.tmp, as also the current user umask would be in use (and could be set to create group writeable files by default) which could be used during the writing of /etc/mtab.tmp to edit it.
Created attachment 466317 [details] ecryptfs-utils-CVE-2011-3145.patch the patch from redhat bugzilla
The SWAMPID for this issue is 44543. This issue was rated as moderate. Please submit fixed packages until 2011-12-26. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team.
openSUSE 12.1 has the fix already.
submitted sle11 sp1 and 11.3,11.4
This is an autogenerated message for OBS integration: This bug (735342) was mentioned in https://build.opensuse.org/request/show/96667 11.4 / ecryptfs-utils
This is an autogenerated message for OBS integration: This bug (735342) was mentioned in https://build.opensuse.org/request/show/101056 Evergreen:11.1 / ecryptfs-utils
resubmitting
released finally
Update released for: ecryptfs-utils, ecryptfs-utils-32bit, ecryptfs-utils-debuginfo, ecryptfs-utils-debuginfo-32bit, ecryptfs-utils-debuginfo-x86, ecryptfs-utils-debugsource, ecryptfs-utils-x86 Products: SLE-DEBUGINFO 11-SP1 (i386, ia64, ppc64, s390x, x86_64) SLE-DESKTOP 11-SP1 (i386, x86_64) SLE-DESKTOP 11-SP1-FOR-SP2 (i386, x86_64) SLE-SERVER 11-SP1 (i386, ia64, ppc64, s390x, x86_64) SLE-SERVER 11-SP1-FOR-SP2 (i386, ia64, ppc64, s390x, x86_64) SLE-SERVER 11-SP1-TERADATA (x86_64) SLES4VMWARE 11-SP1 (i386, x86_64)