{"id":"CVE-2004-0186","url":"https://www.cyber-defence.io/tools/cve/CVE-2004-0186","generatedAt":"2026-10-27T20:40:13.102Z","title":"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.","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.","published":"2004-03-15T05:00:00.000Z","lastModified":"2026-06-16T22:05:08.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":7.2,"severity":"HIGH","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C"},"cwe":[],"affected":["samba/samba","linux/linux kernel"],"epss":{"score":0.01595,"percentile":0.75546,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2004-02-09","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":23674,"kind":"exploit","title":"Samba 2.2.8 (Linux Kernel 2.6 / Debian / Mandrake) - Share Privilege Escalation","url":"https://www.exploit-db.com/exploits/23674","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/23674.txt","file":"exploits/linux/local/23674.txt","published":"2004-02-09","added":"2004-02-09","updated":"2016-12-02","author":"Martin Fiala","type":"local","platform":"linux","port":null,"verified":true,"codes":["CVE-2004-0186","OSVDB-3916"],"tags":null,"aliases":null,"applicationUrl":"http://www.exploit-db.comsamba-2.2.8.tar.gz","screenshotUrl":null,"referenceUrl":"https://www.securityfocus.com/bid/9619/info"}]},"verdict":{"level":"urgent","text":"A public exploit is published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 1.6%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use."},"changes":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=107636290906296&w=2","source":"cve@mitre.org"},{"url":"http://marc.info/?l=bugtraq&m=107657505718743&w=2","source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2004/dsa-463","tags":["Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://www.osvdb.org/3916","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/9619","tags":["Exploit","Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15131","source":"cve@mitre.org"},{"url":"http://marc.info/?l=bugtraq&m=107636290906296&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=107657505718743&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2004/dsa-463","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.osvdb.org/3916","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/9619","tags":["Exploit","Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15131","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-0186","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}