Linux kernel CIFS VFS SendReceive() buffer overflow
| linux-kernel-cifsvfs-sendreceive-bo (38450) |
Description:
The CIFS VFS file system in Linux kernel is vulnerable to multiple buffer overflows, caused by improper bounds checking by the SendReceive() function. By sending an overly long SMB response, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the file system to crash.
Platforms Affected:
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 7.04
- Canonical, Ubuntu 7.10
- Debian, Debian Linux 4.0
- Linux, Kernel 2.6.0
- Linux, Kernel 2.6.1
- Linux, Kernel 2.6.10
- Linux, Kernel 2.6.11
- Linux, Kernel 2.6.12
- Linux, Kernel 2.6.13
- Linux, Kernel 2.6.14
- Linux, Kernel 2.6.15
- Linux, Kernel 2.6.16
- Linux, Kernel 2.6.17
- Linux, Kernel 2.6.18
- Linux, Kernel 2.6.19
- Linux, Kernel 2.6.2
- Linux, Kernel 2.6.20
- Linux, Kernel 2.6.21
- Linux, Kernel 2.6.22
- Linux, Kernel 2.6.23
- Linux, Kernel 2.6.3
- Linux, Kernel 2.6.4
- Linux, Kernel 2.6.5
- Linux, Kernel 2.6.6
- Linux, Kernel 2.6.7
- Linux, Kernel 2.6.8
- Linux, Kernel 2.6.9
- Novell, Linux Desktop 9
- Novell, Linux POS 9
- Novell, Open Enterprise Server
- Novell, Open Enterprise Server
- Novell, OpenSUSE 10.2
- Novell, OpenSUSE 10.3
- Novell, SLE SDK 10 SP1
- Novell, SUSE Linux Enterprise 10 SP1 DEBUGINFO
- Novell, SUSE Linux Enterprise Desktop 10 SP1
- Novell, SUSE Linux Enterprise Server 10
- Novell, SUSE Linux Enterprise Server 10 SP1
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Client
- SuSE, SLE SDK 10
- SuSE, SuSE Linux 10.0 Desktop
- SuSE, SuSE Linux 10.1
- SuSE, SuSE Linux Enterprise Realtime 10 SP1
- SuSE, SuSE Linux Enterprise Server 9.0
- SuSE, SuSE SLES 9
Remedy:
Apply the patch available from the Linux kernel GIT Repository. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Access
References:
- Linux CIFS Client Web page, CIFS VFS at http://linux-cifs.samba.org/.
- Linux kernel GIT Repository, [CIFS] Fix buffer overflow if server sends corrupt response to small request at http://git.kernel.org/?p=linux/kernel/git/sfrench/cifs-2.6.git;a=commit;h=133672efbc1085f9af990bdc145e1822ea93bcf3.
- linux-kernel Mailing List, 2007-11-08 21:20:03, Buffer overflow in CIFS VFS. at http://marc.info/?l=linux-kernel&m=119455843205403&w=2.
- linux-kernel Mailing List, 2007-11-09 2:12:25, Re: Fw: Buffer overflow in CIFS VFS. at http://marc.info/?l=linux-kernel&m=119457447724276&w=2.
- ASA-2008-165: kernel security and bug fix update (RHSA-2008-0167)
- BID-26438: Linux Kernel CIFS Transport.C Remote Buffer Overflow Vulnerability
- CVE-2007-5904: Multiple buffer overflows in CIFS VFS in Linux kernel 2.6.23 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via long SMB responses that trigger the overflows in the SendReceive function.
- DSA-1428: linux-2.6 -- several vulnerabilities
- FrSIRT/ADV-2007-3860: Linux Kernel CIFS SendReceive() Remote Buffer Overflow Vulnerability
- RHSA-2008-0089: Important: kernel security and bug fix update
- RHSA-2008-0167: Moderate: kernel security and bug fix update
- SA27666: Linux Kernel CIFS "SendReceive()" Buffer Overflow
- SECTRACK ID: 1019612: Linux Kernel Buffer Overflow in CIFS VFS May Let Remote Authenticated Users Execute Arbitrary Code
- SUSE-SA:2007:063: Linux kernel security problems
- SUSE-SA:2007:064: Linux kernel security problems
- SUSE-SA:2008:013: Linux kernel security problem
- SUSE-SA:2008:017: Linux kernel security update
- SUSE-SA:2008:030: Linux kernel security update
- USN-618-1: Linux kernel vulnerabilities
Reported:
Nov 08, 2007
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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
