smbfs in Samba 3.5.8 and earlier attempts to use (1) mount.cifs to append to the…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · None
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 3 advisories
- RHSA-2011:1221 Released 2011-08-29 · Red Hat rating Moderatesamba and cifs-utils security and bug fix update
- Red Hat Enterprise Linux Server (v. 6) cifs-utils-4.8.1-2.el6_1.2, libsmbclient-3.5.6-86.el6_1.4, libsmbclient-3.5.6-86.el6_1.4.ppc +7
- Red Hat Enterprise Linux Server Optional (v. 6) libsmbclient-devel-3.5.6-86.el6_1.4, libsmbclient-devel-3.5.6-86.el6_1.4.ppc, samba-3.5.6-86.el6_1.4 +6
- RHSA-2011:1220 Released 2011-08-29 · Red Hat rating Moderatesamba3x security update
- RHEL Desktop Workstation (v. 5 client) samba3x-3.5.4-0.83.el5_7.2, samba3x-winbind-devel-3.5.4-0.83.el5_7.2, samba3x-winbind-devel-3.5.4-0.83.el5_7.2.i386
- Red Hat Enterprise Linux (v. 5 server) samba3x-3.5.4-0.83.el5_7.2, samba3x-3.5.4-0.83.el5_7.2.i386, samba3x-3.5.4-0.83.el5_7.2.ia64 +29
- Red Hat Enterprise Linux Desktop (v. 5 client) samba3x-3.5.4-0.83.el5_7.2, samba3x-3.5.4-0.83.el5_7.2.i386, samba3x-client-3.5.4-0.83.el5_7.2 +11
- RHSA-2011:1219 Released 2011-08-29 · Red Hat rating Moderatesamba security update
- RHEL Desktop Workstation (v. 5 client) libsmbclient-devel-3.0.33-3.29.el5_7.4, libsmbclient-devel-3.0.33-3.29.el5_7.4.i386, samba-3.0.33-3.29.el5_7.4
- Red Hat Enterprise Linux (v. 5 server) libsmbclient-3.0.33-3.29.el5_7.4, libsmbclient-3.0.33-3.29.el5_7.4.i386, libsmbclient-3.0.33-3.29.el5_7.4.ia64 +21
- Red Hat Enterprise Linux AS version 4 samba-3.0.33-0.34.el4, samba-3.0.33-0.34.el4.i386, samba-3.0.33-0.34.el4.ia64 +13
- Red Hat Enterprise Linux Desktop (v. 5 client) libsmbclient-3.0.33-3.29.el5_7.4, libsmbclient-3.0.33-3.29.el5_7.4.i386, samba-3.0.33-3.29.el5_7.4 +7
- Red Hat Enterprise Linux Desktop version 4 samba-3.0.33-0.34.el4, samba-3.0.33-0.34.el4.i386, samba-client-3.0.33-0.34.el4 +5
- Red Hat Enterprise Linux ES version 4 samba-3.0.33-0.34.el4, samba-3.0.33-0.34.el4.i386, samba-3.0.33-0.34.el4.ia64 +9
- Red Hat Enterprise Linux WS version 4 samba-3.0.33-0.34.el4, samba-3.0.33-0.34.el4.i386, samba-3.0.33-0.34.el4.ia64 +9
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| RHEL Desktop Workstation (v. 5 client) | Fixed | RHSA-2011:1219, RHSA-2011:1220 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2011:1219, RHSA-2011:1220 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2011:1219 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2011:1219, RHSA-2011:1220 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2011:1219 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2011:1219 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2011:1221 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2011:1221 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2011:1219 |
Timeline
- 2026-10-02 Threatist record created from CVE-2011-1678
- 2026-10-03 Alias added: GHSA-v7g7-rpcw-4f58
References
Advisory 17
- [oss-security] 20110314 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110303 Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110322 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110322 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110305 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- MDVSA-2011:148
- [oss-security] 20110307 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110401 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110304 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110314 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110331 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110304 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110314 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110303 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110305 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110331 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
- [oss-security] 20110315 Re: Suid mount helpers fail to anticipate RLIMIT_FSIZE
More Samba vulnerabilities
- TI-2020-01431 Netlogon Elevation of Privilege Vulnerability KEVCVSS 3.1CRITICAL 10.0
- TI-2017-05139 Code injection in samba KEVCVSS 3.1CRITICAL 9.8
- TI-2015-00210 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x… CVSS 2.0HIGH 10.0
- TI-2003-00081 Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in… CVSS 2.0HIGH 10.0
- TI-2003-00185 Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before… CVSS 2.0HIGH 10.0
- TI-2007-02362 Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through… CVSS 2.0HIGH 10.0
Sources
- CVE-2011-1678 · CVE Program
- CVE-2011-1678 · NVD
- FIRST EPSS
- GHSA-v7g7-rpcw-4f58 · GitHub Advisory Database · CC BY 4.0
- CVE-2011-1678 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences