10464 : Samba MS-DOS Path Request Arbitrary File Retrieval
Printer | http://osvdb.org/10464 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
5 1181 over 8 years ago about 1 month ago 3 times 95%

Timeline

Disclosure Date
2004-09-30

Description

Samba contains a flaw that allows a remote attacker to gain access to files outside of the share path under the privileges of the user. With a specifically crafted request, an attacker could potentially access files outside the share's root. The issue is due to the unix_convert() and check_name() functions not properly sanitizing user input supplied via the GET, PUT and DIR commands. Samba treats the resulting input as an absolute path rather than relative path to the share.

Classification

Location: Remote / Network Access
Attack Type: Input Manipulation
Impact: Loss of Confidentiality
Exploit: Exploit Public

Solution

Upgrade to version 2.2.12 or higher, as it has been reported to fix this vulnerability. For the 3.x series, Samba Project has released a patch to address this vulnerability. As a workaround, set "wide links = no" in smb.conf.

Products

Samba Team
Samba
3.0.2a
3.0.2
3.0.1
3.0.0
Samba TNG
0.4.99
0.4.98

References

Tools & Filters

15394 15413 15423 15428 15690 19144

Snort

15983
2337 2338

Credit

CVSSv2 Score

CVSSv2 Base Score = 7.5
Source: nvd.nist.gov | Generated: 2003-12-31 | Disagree?

Access_vector_2 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2002 - 2013 Open Sourced Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use