25851 : FreeBSD SMBFS Traversal chroot Bypass
Printer | http://osvdb.org/25851 | Email This | Edit Vulnerability

Views This Week

5

Views All Time

44

Info

Last Modified

4 months ago

Percent Complete

100%

Disclosure

May 31, 2006

Discovery

Unknown

Dates

Exploit

May 31, 2006

Solution

Unknown

Description

FreeBSD contains a flaw that allows a remote attacker to escape a chroot environment when the chroot is implemented over a Server Message Block File System (SMBFS). The issue is due to the SMBFS not properly sanitizing user input, specifically directory traversal style attacks (..\). This flaw may lead to a loss of integrity.

Classification

Location: Local Access Required, Remote/Network Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Available
Disclosure: OSVDB Verified

Solution

Upgrade to version 4.11, 5.5 or 6.1 or higher, as it has been reported to fix this vulnerability. In addition, FreeBSD has released a patch for some older versions.

It is also possible to correct the flaw by implementing the following workaround: mount the SMBFS so that the chroot directory is on a mount point and not a subdirectory of a mount point.

Products

FreeBSD Project
Watch-list
FreeBSD
Watch-list
5.0
4.3
4.4
4.5
4.6
4.7
4.8
4.9
5.2
4.10
5.1
5.2.1
5.3
5.4
4.11
4.6.2
6.0
5.5
6.1

References

Credit

  • Mark Moseley -

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

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 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use