Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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