CVE-2010-0787 json
client/mount.cifs.c in mount.cifs in smbfs in Samba 3.0.22, 3.0.28a, 3.2.3, 3.3.2, 3.4.0, and 3.4.5 allows local users to mount a CIFS shar…
published 2010-03-02 16 y ago modified 2026-06-16 4 mo ago also EUVD-2010-0813
- cvss
- 4.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
client/mount.cifs.c in mount.cifs in smbfs in Samba 3.0.22, 3.0.28a, 3.2.3, 3.3.2, 3.4.0, and 3.4.5 allows local users to mount a CIFS share on an arbitrary mountpoint, and gain privileges, via a symlink attack on the mountpoint directory file.
Patch / fix
- samba Debian 14, Debian 13, Debian 12 2:3.4.5~dfsg-2
debian advisories DEBIAN-CVE-2010-0787
- samba RHEL 4 3.0.33-0.34.el4
- samba RHEL 5 3.0.33-3.29.el5_7.4
- samba-swat RHEL 4 3.0.33-0.34.el4
- samba-swat RHEL 5 3.0.33-3.29.el5_7.4
- libsmbclient RHEL 5 3.0.33-3.29.el5_7.4
- samba-client RHEL 4 3.0.33-0.34.el4
- samba-client RHEL 5 3.0.33-3.29.el5_7.4
- samba-common RHEL 4 3.0.33-0.34.el4
red hat advisories RHSA-2011:1219RHBA-2011:0054
- samba openSUSE Tumbleweed 4.5.0-1.1
- cifs-utils openSUSE Tumbleweed 6.5-1.5
opensuse advisories openSUSE-SU-2024:10069-1openSUSE-SU-2024:10334-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2010-0787 updated cvss 1.7
samba: Race condition by mount (mount.cifs) operations
-
Red Hat Enterprise Linux (v. 5 server) samba3x 3.5.4-0.70.el5, samba 3.0.33-3.29.el5_7.4, samba3x-swat 3.5.4-0.70.el5, samba3x-client 3.5.4-0.70.el5, samba3x-common 3.5.4-0.70.el5, samba-swat 3.0.33-3.29.el5_7.4, +5 more Red Hat Enterprise Linux AS version 4 samba 3.0.33-0.34.el4, samba-swat 3.0.33-0.34.el4, samba-client 3.0.33-0.34.el4, samba-common 3.0.33-0.34.el4 Red Hat Enterprise Linux Desktop (v. 5 client) samba3x 3.5.4-0.70.el5, samba 3.0.33-3.29.el5_7.4, samba3x-swat 3.5.4-0.70.el5, samba3x-client 3.5.4-0.70.el5, samba3x-common 3.5.4-0.70.el5, samba-swat 3.0.33-3.29.el5_7.4, +5 more Red Hat Enterprise Linux Desktop version 4 samba 3.0.33-0.34.el4, samba-swat 3.0.33-0.34.el4, samba-client 3.0.33-0.34.el4, samba-common 3.0.33-0.34.el4fixed: vendor fix RHSA-2011:1219
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) samba3x 3.5.4-0.70.el5, samba3x-swat 3.5.4-0.70.el5, samba3x-client 3.5.4-0.70.el5, samba3x-common 3.5.4-0.70.el5, samba3x-winbind 3.5.4-0.70.el5, samba3x-domainjoin-gui 3.5.4-0.70.el5fixed: vendor fix RHBA-2011:0054
-
Red Hat Enterprise Linux ES version 4 samba 3.0.33-0.34.el4, samba-swat 3.0.33-0.34.el4, samba-client 3.0.33-0.34.el4, samba-common 3.0.33-0.34.el4 Red Hat Enterprise Linux WS version 4 samba 3.0.33-0.34.el4, samba-swat 3.0.33-0.34.el4, samba-client 3.0.33-0.34.el4, samba-common 3.0.33-0.34.el4 Red Hat RHEL Desktop Workstation (v. 5 client) samba 3.0.33-3.29.el5_7.4, samba-swat 3.0.33-3.29.el5_7.4, libsmbclient 3.0.33-3.29.el5_7.4, samba-client 3.0.33-3.29.el5_7.4, samba-common 3.0.33-3.29.el5_7.4fixed: vendor fix RHSA-2011:1219
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
securityfocus.com
/bid/37992
vdb-entry, patch
-
bugzilla.samba.org
/show_bug.cgi?id=6853
patch
-
lists.fedoraproject.org
/pipermail/package-announce/2010-January/034470.html
vendor-advisory
-
security.gentoo.org
/glsa/glsa-201206-29.xml
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2010-January/034444.html
vendor-advisory
-
ubuntu.com
/usn/USN-893-1
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2010:090
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-08/msg00001.html
vendor-advisory
-
secunia.com
/advisories/38286
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/38308
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/38357
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2010/1062
vdb-entry
- bugzilla.redhat.com /show_bug.cgi?id=558833
-
securityfocus.com
/bid/39898
vdb-entry
- git.samba.org /?p=samba.git%3Ba=commit%3Bh=a0c31ec1c8d1220a5884e40d9ba6b191a04a24d5
- bugzilla.redhat.com /show_bug.cgi?id=532940
- git.samba.org /?p=samba.git%3Ba=commit%3Bh=3ae5dac462c4ed0fb2cd94553583c56fce2f9d80
-
exchange.xforce.ibmcloud.com
/vulnerabilities/55944
vdb-entry
Sources
- CVE List CVE-2010-0787
- NVD CVE-2010-0787
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.