Linux NFS server buffer overflow
| linux-nfs-maxpath-bo (3501) |
Description:
The NFS (Network File System) daemon shipped with many Linux distributions is vulnerable to a buffer overflow. By removing a long directory name in NFS, an attacker can overflow a buffer and execute arbitrary code on the server with root privileges. In order to exploit this vulnerability, an attacker must have previous read and write access to a share offered by a vulnerable NFS server.
Platforms Affected:
- Debian, Debian Linux 2.1
- RedHat, Linux 4.2
- RedHat, Linux 5.2
- SCO, Caldera OpenLinux
Remedy:
For Red Hat Linux:
Upgrade to the latest version of nfs-server (2.2beta47-1 or later), as listed in RHSA1999:053-01. See References.
For Debian Linux:
Upgrade to the latest version of nfs-server (2.2beta37-1slink or later), as listed in Debian Security Advisory 19991111. See References.
For Caldera OpenLinux:
Upgrade to the latest version of nfs-server (2.2beta47-2 or later), as listed in Caldera Systems, Inc. Security Advisory CSSA-1999-033.0. See References.
For SuSE Linux:
Upgrade to the latest version of nkita (99.11.11-0 or later), as listed in SuSE Security Announcement #29. See References.
For Slackware Linux 7.0:
Upgrade to the latest version of nfs-server (2.2beta47 or later), as listed in the BugTraq Mailing List posting dated Tue Nov 30 1999 19:24:35. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Tue Nov 30 1999 - 21:24:35 CST, [david@slackware.com: New Patches for Slackware 7.0 Available] at http://archives.neohapsis.com/archives/bugtraq/1999-q4/0165.html.
- BugTraq Mailing List, Tue, 9 Nov 1999 11:39:39 +0100, undocumented bugs - nfsd at http://archives.neohapsis.com/archives/bugtraq/1999-q3/1549.html.
- Caldera International, Inc. Security Advisory CSSA-1999-033.0, buffer overflow in NFS daemon at ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-1999:033.0.txt.
- Debian Security Advisory 19991111, nfs-server: buffer overflow in nfs server at http://www.debian.org/security/1999/19991111.
- Red Hat Linux 5.2 General Errata, new NFS server packages available (5.2, 4.2) at http://www.redhat.com/support/errata/rh52-errata-general.html#nfs.
- SuSE Security Announcement #29, nfs-server < 2.2beta47 within nkita at http://www.suse.de/de/security/suse_security_announce_29.txt.
- BID-782: Linux nfsd Remote Buffer Overflow Vulnerability
- CVE-1999-0832: Buffer overflow in NFS server on Linux allows attackers to execute commands via a long pathname.
Reported:
Nov 09, 1999
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
