Description
Samba 3.2.0 uses weak permissions (0666) for the (1) group_mapping.tdb and (2) group_mapping.ldb files, which allows local users to modify the membership of Unix groups.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | samba | 2:3.2.3-1 | — |
| Debian 13 | samba | 2:3.2.3-1 | — |
| Debian 12 | samba | 2:3.2.3-1 | — |
| Debian 5.0 | samba | 2:3.2.1-1+lenny1 | DTSA-161-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cifs-utils | 6.13-1.3 | openSUSE-SU-2024:10683-1 |
| openSUSE Tumbleweed | samba | 4.14.6+git.182.2205d5224e3-1.1 | openSUSE-SU-2024:11365-1 |
Advisories 3
- DTSA-161-1 samba - privilege escalation Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11365-1 ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10683-1 cifs-utils-6.13-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496073
- 30837 vdb-entry
- 31601 third-party-advisory
- 1020770 vdb-entry
- samba-groupmapping-security-bypass(44678) vdb-entry
- ADV-2008-2440 vdb-entry
- http://samba.org/samba/security/CVE-2008-3789.html
- [oss-security] 20080826 CVE Request (samba) mailing-list