CVE-2004-0186 smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are n...
HighCVSS 7.2
EPSS 1.6%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- Linux KernelDebian
Description
smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.
Upgrade path
5 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/samba(Debian 12) | < 3.0.2-2 | 3.0.2-2 | Fixed |
| debian/samba(Debian 13) | < 3.0.2-2 | 3.0.2-2 | Fixed |
| debian/samba(Debian 14) | < 3.0.2-2 | 3.0.2-2 | Fixed |
| Linux kernel | = 2.6.0; = 2.6.0-test1; = 2.6.0-test2; = 2.6.0-test3 +11 more | No fix listed | Versions listed |
| samba | = 2.0; = 3.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| samba | = 2.0 | No fix listed |
| samba | = 3.0.0 | No fix listed |
| Linux kernel | = 2.6.0 | No fix listed |
| Linux kernel | = 2.6.0-test1 | No fix listed |
| Linux kernel | = 2.6.0-test10 | No fix listed |
| Linux kernel | = 2.6.0-test11 | No fix listed |
| Linux kernel | = 2.6.0-test2 | No fix listed |
| Linux kernel | = 2.6.0-test3 | No fix listed |
| Linux kernel | = 2.6.0-test4 | No fix listed |
| Linux kernel | = 2.6.0-test5 | No fix listed |
| Linux kernel | = 2.6.0-test6 | No fix listed |
| Linux kernel | = 2.6.0-test7 | No fix listed |
| Linux kernel | = 2.6.0-test8 | No fix listed |
| Linux kernel | = 2.6.0-test9 | No fix listed |
| Linux kernel | = 2.6.1-rc1 | No fix listed |
| Linux kernel | = 2.6.1-rc2 | No fix listed |
| Linux kernel | = 2.6_test9_cvs | No fix listed |
| debian/samba(Debian:12) | < 3.0.2-2 | 3.0.2-2 |
| debian/samba(Debian:13) | < 3.0.2-2 | 3.0.2-2 |
| debian/samba(Debian:14) | < 3.0.2-2 | 3.0.2-2 |
References
- Debian Security Tracker CVE-2004-0186 vendor-advisory
- 20040209 Samba 3.x + kernel 2.6.x local root vulnerability mailing-list
- 20040211 Re: Samba 3.x + kernel 2.6.x local root vulnerability mailing-list
- DSA-463 patch vendor-advisory
- 3916 vdb-entry
- 9619 exploit patch vdb-entry vendor-advisory
- samba-smbmnt-gain-privileges(15131) vdb-entry