Lucene search

K
freebsdFreeBSDCF3B9A96-F7BB-11DA-9156-000E0C2E438A
HistoryMay 31, 2006 - 12:00 a.m.

smbfs -- chroot escape

2006-05-3100:00:00
vuxml.freebsd.org
18

6.4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:P/A:N

0.002 Low

EPSS

Percentile

53.9%

Problem Description
smbfs does not properly sanitize paths containing a backslash
character; in particular the directory name '…' is
interpreted as the parent directory by the SMB/CIFS server,
but smbfs handles it in the same manner as any other
directory.
Impact
When inside a chroot environment which resides on a smbfs
mounted file-system it is possible for an attacker to escape
out of this chroot to any other directory on the smbfs
mounted file-system.
Workaround
Mount the smbfs file-systems which need to be used with
chroot on top, in a way so the chroot directory is exactly on
the mount point and not a sub directory

OSVersionArchitecturePackageVersionFilename
FreeBSDanynoarchfreebsd= 4.10UNKNOWN
FreeBSDanynoarchfreebsd< 4.10_24UNKNOWN

6.4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:P/A:N

0.002 Low

EPSS

Percentile

53.9%

Related for CF3B9A96-F7BB-11DA-9156-000E0C2E438A