CVE-2010-0787 Path traversal in n/a

Medium 4.4 Published Updated

Local attackers can exploit a symlink vulnerability in the Samba mount utility to mount shares on arbitrary directories and escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2010-0787?

CVE-2010-0787 is a medium-severity path traversal vulnerability in Samba Samba, published on 2 Mar 2010. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-59

Which versions are affected by CVE-2010-0787?

It affects 1 product.

Products include Samba Samba.

How do I fix CVE-2010-0787?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2010-0787 being exploited?

There is no known exploitation of CVE-2010-0787 in the wild and no public exploit code.

All Samba Samba vulnerabilities

Sources

Also known as DEBIAN-CVE-2010-0787, ECHO-af91-6cd2-31fd, GHSA-55gw-qcg5-xjrx.

Is CVE-2010-0787 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free