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…
Noroxi assessment
Priority: Monitor (action score 13/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.53% (FIRST EPSS).
- Fixed version: cifs-utils (Debian:12) 2:5.1-1; samba (Debian:12) 2:3.4.7~dfsg-2; samba (Red Hat:enterprise_linux:4::as) 0:3.0.33-0.34.el4.
Low priority for now. Upgrade to cifs-utils (Debian:12) 2:5.1-1; samba (Debian:12) 2:3.4.7~dfsg-2; samba (Red Hat:enterprise_linux:4::as) 0:3.0.33-0.34.el4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Apr 9, 2011
- Updated
- Jun 16, 2026
- EPSS
- 0.5% · 45th percentile
- CWE
- CWE-20
Report tools
Action score
13
Low priority for now.
- CVSS
- 13 / 40 · 3.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- samba sambaup to 3.5.8 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | cifs-utils | before 2:5.1-1 | 2:5.1-1 |
| Debian:12 | samba | before 2:3.4.7~dfsg-2 | 2:3.4.7~dfsg-2 |
| Red Hat:enterprise_linux:4::as | samba | before 0:3.0.33-0.34.el4 | 0:3.0.33-0.34.el4 |
| Red Hat:enterprise_linux:4::as | samba-client | before 0:3.0.33-0.34.el4 | 0:3.0.33-0.34.el4 |
| Red Hat:enterprise_linux:4::as | samba-common | before 0:3.0.33-0.34.el4 | 0:3.0.33-0.34.el4 |
| Red Hat:enterprise_linux:4::as | samba-debuginfo | before 0:3.0.33-0.34.el4 | 0:3.0.33-0.34.el4 |
| Red Hat:enterprise_linux:4::as | samba-swat | before 0:3.0.33-0.34.el4 | 0:3.0.33-0.34.el4 |
| Red Hat:enterprise_linux:5::client | libsmbclient | before 0:3.0.33-3.29.el5_7.4 | 0:3.0.33-3.29.el5_7.4 |
| Red Hat:enterprise_linux:5::client | samba | before 0:3.0.33-3.29.el5_7.4 | 0:3.0.33-3.29.el5_7.4 |
| Red Hat:enterprise_linux:5::client | samba-client | before 0:3.0.33-3.29.el5_7.4 | 0:3.0.33-3.29.el5_7.4 |
| Red Hat:enterprise_linux:5::client | samba-common | before 0:3.0.33-3.29.el5_7.4 | 0:3.0.33-3.29.el5_7.4 |
| Red Hat:enterprise_linux:5::client | samba-debuginfo | before 0:3.0.33-3.29.el5_7.4 | 0:3.0.33-3.29.el5_7.4 |
| Red Hat:enterprise_linux:5::client | samba-swat | before 0:3.0.33-3.29.el5_7.4 | 0:3.0.33-3.29.el5_7.4 |
| Red Hat:enterprise_linux:5::client | samba3x | before 0:3.5.4-0.83.el5_7.2 | 0:3.5.4-0.83.el5_7.2 |
| Red Hat:enterprise_linux:5::client | samba3x-client | before 0:3.5.4-0.83.el5_7.2 | 0:3.5.4-0.83.el5_7.2 |
| Red Hat:enterprise_linux:5::client | samba3x-common | before 0:3.5.4-0.83.el5_7.2 | 0:3.5.4-0.83.el5_7.2 |
| Red Hat:enterprise_linux:5::client | samba3x-debuginfo | before 0:3.5.4-0.83.el5_7.2 | 0:3.5.4-0.83.el5_7.2 |
| Red Hat:enterprise_linux:5::client | samba3x-doc | before 0:3.5.4-0.83.el5_7.2 | 0:3.5.4-0.83.el5_7.2 |
| Red Hat:enterprise_linux:5::client | samba3x-domainjoin-gui | before 0:3.5.4-0.83.el5_7.2 | 0:3.5.4-0.83.el5_7.2 |
| Red Hat:enterprise_linux:5::client | samba3x-swat | before 0:3.5.4-0.83.el5_7.2 | 0:3.5.4-0.83.el5_7.2 |
| Red Hat:enterprise_linux:5::client | samba3x-winbind | before 0:3.5.4-0.83.el5_7.2 | 0:3.5.4-0.83.el5_7.2 |
| Red Hat:enterprise_linux:5::client_workstation | libsmbclient-devel | before 0:3.0.33-3.29.el5_7.4 | 0:3.0.33-3.29.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | samba3x-winbind-devel | before 0:3.5.4-0.83.el5_7.2 | 0:3.5.4-0.83.el5_7.2 |
| Red Hat:enterprise_linux:6::server | cifs-utils | before 0:4.8.1-2.el6_1.2 | 0:4.8.1-2.el6_1.2 |
+14
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious…KEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x…66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1…66This week
Published before and after this one in the same product
- ← EarlierCVE-2010-3069Sep 15, 2010 · Stack-based buffer overflow in the (1) sid_parse and (2) dom_sid_parse functions in Samba before 3.5.5 allows remote attackers to cause a…33Monitor
- ← EarlierCVE-2011-0719Mar 1, 2011 · Samba 3.x before 3.3.15, 3.4.x before 3.4.12, and 3.5.x before 3.5.7 does not perform range checks for file descriptors before use of the…21Monitor
- Later →CVE-2011-2522Jul 29, 2011 · Multiple cross-site request forgery (CSRF) vulnerabilities in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.10 allow…30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:cifs-utils | 2:5.1-1 · Debian:12 | Package registry (OSV) |
| debian:samba | 2:3.4.7~dfsg-2 · Debian:12 | Package registry (OSV) |
| red hat:libsmbclient | 0:3.0.33-3.29.el5_7.4 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:libsmbclient-devel | 0:3.0.33-3.29.el5_7.4 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:samba | 0:3.0.33-0.34.el4 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:samba-client | 0:3.0.33-0.34.el4 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:samba-common | 0:3.0.33-0.34.el4 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:samba-debuginfo | 0:3.0.33-0.34.el4 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:samba-swat | 0:3.0.33-0.34.el4 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:samba3x | 0:3.5.4-0.83.el5_7.2 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-client | 0:3.5.4-0.83.el5_7.2 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-common | 0:3.5.4-0.83.el5_7.2 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-debuginfo | 0:3.5.4-0.83.el5_7.2 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-doc | 0:3.5.4-0.83.el5_7.2 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
AV:L/AC:M/Au:N/C:P/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (18 more)Show less
- openwall.com/lists/oss-security/2011/03/04/11
- openwall.com/lists/oss-security/2011/03/04/12
- openwall.com/lists/oss-security/2011/03/04/9
- openwall.com/lists/oss-security/2011/03/05/3
- openwall.com/lists/oss-security/2011/03/05/7
- openwall.com/lists/oss-security/2011/03/07/9
- openwall.com/lists/oss-security/2011/03/14/16
- openwall.com/lists/oss-security/2011/03/14/5
- openwall.com/lists/oss-security/2011/03/14/7
- openwall.com/lists/oss-security/2011/03/15/6
- openwall.com/lists/oss-security/2011/03/22/4
- openwall.com/lists/oss-security/2011/03/22/6
- openwall.com/lists/oss-security/2011/03/31/3
- openwall.com/lists/oss-security/2011/03/31/4
- openwall.com/lists/oss-security/2011/04/01/2
- www.mandriva.com/security/advisories?name=MDVSA-2011:148
- bugzilla.redhat.com/show_bug.cgi?id=688980
- exchange.xforce.ibmcloud.com/vulnerabilities/66702
Vendor advisories and official records. Exploit/PoC links are deliberately left out.