Linux kernel smbfs directory traversal
| kernel-smbfs-directory-traversal (26137) |
Description:
Linux kernel is vulnerable to a directory traversal in smbfs. A local attacker could send a specially-crafted request containing "dot dot" sequences (..\\) to traverse directories and escape chroot restrictions for an SMB-mounted file system.
Platforms Affected:
- Canonical, Ubuntu 5.04
- Canonical, Ubuntu 5.10
- Canonical, Ubuntu 6.06 LTS
- Debian, Debian Linux 3.1
- Linux, Kernel 2.6.16 rc1
- Linux, Kernel 2.6.16 rc7
- Linux, Kernel 2.6.16
- Linux, Kernel 2.6.16 rc2
- Linux, Kernel 2.6.16 rc3
- Linux, Kernel 2.6.16 rc4
- Linux, Kernel 2.6.16 rc5
- Linux, Kernel 2.6.16 rc6
- Linux, Kernel 2.6.16.1
- Linux, Kernel 2.6.16.2
- Linux, Kernel 2.6.16.3
- Linux, Kernel 2.6.16.4
- Linux, Kernel 2.6.16.7
- Linux, Kernel 2.6.16.8
- MandrakeSoft, Mandrake Linux 2006
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Multi Network Firewall 2.0
- Novell, UnitedLinux 1.0
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Linux Advanced Workstation 2.1 Itanium
- SuSE, Linux Enterprise Server 8
- SuSE, Linux Enterprise Server 9
- SuSE, SuSE Linux 10.0
- SuSE, SuSE Linux 9.1
- SuSE, SuSE Linux 9.2
- SuSE, SuSE Linux 9.3
- SuSE, SuSE SLES 9
- VMware, ESX Server 2.0.2
- VMware, ESX Server 2.1.3
- VMware, ESX Server 2.5.3
- VMware, ESX Server 2.5.4
Remedy:
Upgrade to the latest stable version of Linux Kernel (2.6.16.11 or later), available from The Linux Kernel Archives. See References.
For VMware 2.5.3:
Apply the patch for this vulnerability, as listed in the VMware Advisory esx-253-200610-patch. See References.
For Red Hat Linux 4:
Refer to RHSA-2006:0493-6 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux 3:
Refer to RHSA-2006:0710-7 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux 2.1:
Refer to RHSA-2006:0579-12 and RHSA-2006:0580-7 for patch, upgrade, or suggested workaround information. See References.
For Debian GNU/Linux:
Refer to DSA-1097-1 and DSA-1103-1 for patch, upgrade, or suggested workaround information. See References.
For VMware ESX Server 2.0.2:
Apply the patch for this vulnerability, as listed in the VMware Advisory esx-202-200610-patch. See References.
For VMware ESX Server 2.1.3:
Apply the patch for this vulnerability, as listed in the VMware Advisory esx-213-200610-patch. See References.
For VMware ESX Server 2.5.4:
Apply the patch for this vulnerability, as listed in the VMware Advisory esx-254-200610-patch. See References.
For SUSE Linux:
Refer to SUSE-SA:2006:028 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Obtain Information
References:
- Full-Disclosure Mailing List, Mon Nov 13 2006 - 17:22:20 CST, VMSA-2006-0005 - VMware ESX Server 2.5.4 Upgrade Patch 1 at http://archives.neohapsis.com/archives/fulldisclosure/2006-11/0223.html.
- Full-Disclosure Mailing List, Mon Nov 13 2006 - 17:22:38 CST, VMSA-2006-0006 - VMware ESX Server 2.5.3 Upgrade Patch 4 at http://archives.neohapsis.com/archives/fulldisclosure/2006-11/0226.html.
- Full-Disclosure Mailing List, Mon Nov 13 2006 - 17:22:54 CST, VMSA-2006-0007 - VMware ESX Server 2.1.3 Upgrade Patch 2 at http://archives.neohapsis.com/archives/fulldisclosure/2006-11/0224.html.
- Full-Disclosure Mailing List, Mon Nov 13 2006 - 17:23:03 CST, VMSA-2006-0008 - VMware ESX Server 2.0.2 Upgrade Patch 2 at http://archives.neohapsis.com/archives/fulldisclosure/2006-11/0225.html.
- The Linux Kernel Archives, ChangeLog-2.6.16.11 at http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.16.11.
- The The Linux Kernel Archives Web site, The Linux Kernel Archives at http://www.kernel.org/.
- VMware Advisory esx-253-200610-patch, VMware ESX Server 2.5.3 Upgrade Patch 4 (for 2.5.3 Systems Only) at http://www.vmware.com/download/esx/esx-253-200610-patch.html.
- VMware Web site, VMware ESX Server 2.5.4 Upgrade Patch 1 (for 2.5.4 Systems Only) at http://www.vmware.com/download/esx/esx-254-200610-patch.html.
- VMware Web site, VMware ESX Server 2.0.2 Upgrade Patch 2 (for 2.0.2 Systems Only) at http://www.vmware.com/download/esx/esx-202-200610-patch.html.
- VMware Web site, VMware ESX Server 2.1.3 Upgrade Patch 2 (for 2.1.3 Systems Only) at http://www.vmware.com/download/esx/esx-213-200610-patch.html.
- ASA-2006-143: kernel security update (RHSA-2006-0580)
- ASA-2006-161: kernel security update (RHSA-2006-0493)
- ASA-2006-254: kernel security update (RHSA-2006-0710)
- BID-17735: Linux Kernel SMBFS CHRoot Security Restriction Bypass Vulnerability
- CVE-2006-1864: Directory traversal vulnerability in smbfs in Linux 2.6.16 and earlier allows local users to escape chroot restrictions for an SMB-mounted filesystem via ..\\ sequences, a similar vulnerability to CVE-2006-1863.
- DSA-1097: kernel-source-2.4.27 -- several vulnerabilities
- DSA-1103: kernel-source-2.6.8 -- several vulnerabilities
- MDKSA-2006:150: Updated kernel packages fix multiple vulnerabilities
- MDKSA-2006:151: Updated kernel packages fix multiple vulnerabilities
- OSVDB ID: 25067: Linux Kernel SMBFS SMB Mount Traversal chroot Restriction Bypass
- RHSA-2006-0493: kernel security update
- RHSA-2006-0579: kernel security update
- RHSA-2006-0580: kernel security update
- RHSA-2006-0710: kernel security update
- SA19869: Linux Kernel SMBFS chroot Directory Traversal Vulnerability
- SA21476: Linux Kernel Multiple Vulnerabilities
- SA21745: Avaya Products Linux Kernel Multiple Vulnerabilities
- SA22875: VMware ESX Server Multiple Vulnerabilities
- SA23064: Avaya Products Linux Kernel Multiple Vulnerabilities
- SUSE-SA:2006:028: various kernel security problems
- USN-302-1: Linux kernel vulnerabilities
- VUPEN/ADV-2006-4502: VMware ESX Server Security Update Fixes Multiple Buffer Overflow Vulnerabilities
Reported:
Apr 24, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. 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 author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
