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 w...
LowCVSS 3.3
EPSS 0.53%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
Description
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.
Upgrade path
7 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/cifs-utils(Debian 12) | < 2:5.1-1 | 2:5.1-1 | Fixed |
| debian/cifs-utils(Debian 13) | < 2:5.1-1 | 2:5.1-1 | Fixed |
| debian/cifs-utils(Debian 14) | < 2:5.1-1 | 2:5.1-1 | Fixed |
| debian/samba(Debian 12) | < 2:3.4.7~dfsg-2 | 2:3.4.7~dfsg-2 | Fixed |
| debian/samba(Debian 13) | < 2:3.4.7~dfsg-2 | 2:3.4.7~dfsg-2 | Fixed |
| debian/samba(Debian 14) | < 2:3.4.7~dfsg-2 | 2:3.4.7~dfsg-2 | Fixed |
| samba | <= 3.5.8 | after 3.5.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| samba | <= 3.5.8 | No fix listed |
| debian/cifs-utils(Debian:12) | < 2:5.1-1 | 2:5.1-1 |
| debian/cifs-utils(Debian:13) | < 2:5.1-1 | 2:5.1-1 |
| debian/cifs-utils(Debian:14) | < 2:5.1-1 | 2:5.1-1 |
| debian/samba(Debian:12) | < 2:3.4.7~dfsg-2 | 2:3.4.7~dfsg-2 |
| debian/samba(Debian:13) | < 2:3.4.7~dfsg-2 | 2:3.4.7~dfsg-2 |
| debian/samba(Debian:14) | < 2:3.4.7~dfsg-2 | 2:3.4.7~dfsg-2 |
References
- [oss-security] 20110304 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110303 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110304 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110303 Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110305 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110305 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110307 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110314 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110314 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110314 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110315 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110322 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110322 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110331 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110331 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- [oss-security] 20110401 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE mailing-list third-party-advisory
- MDVSA-2011:148 broken-link vendor-advisory
- bugzilla.redhat.com issue-tracking
- samba-smbfs-security-bypass(66702) vdb-entry
- Debian Security Tracker CVE-2011-1678 vendor-advisory