Explain CVE-2011-1678
smbfs in Samba 3.5.8 and earlier attempts to use (1) mount.cifs to append to the /etc/mtab file and (2) umount.cifs to append to the /etc/mtab.tmp file without first checking whether resource limits would interfere, which allows local users to trigger corruption of the /etc/mtab file via a process with a small RLIMIT_FSIZE value, a related issue to CVE-2011-1089.
Affected Products: n/a
References: [{'name': '[oss-security] 20110314 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/14/5'}, {'name': '[oss-security] 20110303 Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/04/9'}, {'name': '[oss-security] 20110322 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/22/6'}, {'name': '[oss-security] 20110322 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/22/4'}, {'name': '[oss-security] 20110305 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/05/7'}, {'tags': ['x_refsource_MISC'], 'url': 'https://bugzilla.redhat.com/show_bug.cgi?id=688980'}, {'name': 'MDVSA-2011:148', 'tags': ['vendor-advisory', 'x_refsource_MANDRIVA'], 'url': 'http://www.mandriva.com/security/advisories?name=MDVSA-2011:148'}, {'name': '[oss-security] 20110307 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/07/9'}, {'name': '[oss-security] 20110401 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/04/01/2'}, {'name': '[oss-security] 20110304 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/04/10'}, {'name': '[oss-security] 20110314 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/14/16'}, {'name': '[oss-security] 20110331 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/31/4'}, {'name': '[oss-security] 20110304 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/04/12'}, {'name': '[oss-security] 20110314 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/14/7'}, {'name': '[oss-security] 20110303 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/04/11'}, {'name': '[oss-security] 20110305 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/05/3'}, {'name': '[oss-security] 20110331 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/31/3'}, {'name': '[oss-security] 20110315 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://openwall.com/lists/oss-security/2011/03/15/6'}, {'name': 'samba-smbfs-security-bypass(66702)', 'tags': ['vdb-entry', 'x_refsource_XF'], 'url': 'https://exchange.xforce.ibmcloud.com/vulnerabilities/66702'}]
CVE State: PUBLISHED