CVE-2015-5252 Path traversal in n/a
Remote attackers can bypass file-access restrictions and access files outside shares via symlinks when specific share name substrings exist.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-5252?
CVE-2015-5252 is a high-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 29 Dec 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
vfs.c in smbd in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, when share names with certain substring relationships exist, allows remote attackers to bypass intended file-access restrictions via a symlink that points outside of a share.
Weakness: CWE-264
Which versions are affected by CVE-2015-5252?
It affects 3 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Samba Samba.
How do I fix CVE-2015-5252?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2015-5252 being exploited?
There is no known exploitation of CVE-2015-5252 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2015-5252, ECHO-2b52-fcfd-8938, GHSA-v8hr-9qpr-jrwc, UBUNTU-CVE-2015-5252, USN-2855-2.