Tenable Network Security
Solutions Products Nessus Demos Partners Online Store
Nessus
Download
Plugins
     Newest Plugins
     Obtain an activation code
     View all plugins
     Search
Documentation
Register
Buy Now
ProfessionalFeed Support
Bugs
All the Tenable Products

Samba Symlink Traversal Arbitrary File Access

This script is Copyright (C) 2010 Tenable Network Security, Inc.

FamilyMisc.
Nessus Plugin ID44406 (samba_symlink_dir_traversal.nasl)
Bugtraq ID38111
CVE ID

Description:
Synopsis :

The remote file server is prone to a symlink attack.

Description :

The remote Samba server is configured insecurely and allows a remote
attacker to gain read or possibly write access to arbitrary files on
the affected host. Specifically, if an attacker has a valid Samba
account for a share that is writable or there is a writable share that
is configured to be a guest account share, he can create a symlink
using directory traversal sequences and gain access to files and
directories outside that share.

Note that successful exploitation requires that the Samba server's
'wide links' parameter be set to 'yes', which is the default.

See also :

http://archives.neohapsis.com/archives/fulldisclosure/2010-02/0100.html
http://www.youtube.com/watch?v=NN50RtZ2N74
http://www.samba.org/samba/news/symlink_attack.html

Solution :

Set 'wide links = no' in the [global] section of smbd.conf.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
About Us | Jobs | Whitepapers | Training | Discussion Forums | Support Portal | Blog | RSS Feeds | Contact Us | Legal | Privacy

© Copyright 2002 - 2010 Tenable Network Security(R). All Rights Reserved.

This is the web site for the Nessus Vulnerability Scanner from Tenable Network Security. If you are looking for the probabilistic analysis software from Southwest Research Institute, please visit www.nessus.swri.org