nfs-utils off-by-one buffer overflow
| nfs-utils-offbyone-bo (12600) |
Description:
nfs-utils is vulnerable to a buffer overflow, caused by an off-by-one error in the xlog function. A remote or local attacker could send a specially-crafted RPC (Remote Procedure Call) request to the rpc.mountd daemon to overflow a buffer and cause the daemon to crash. It is unknown whether this vulnerability can be exploited to execute arbitrary code on the system.
Platforms Affected:
- Conectiva, Linux 7.0
- Conectiva, Linux 8.0
- Conectiva, Linux 9.0
- Debian, Debian Linux 3.0
- Gentoo, Linux
- Immunix, Immunix OS 7+-beta
- MandrakeSoft, Mandrake Linux 8.2
- MandrakeSoft, Mandrake Linux 8.2 PPC
- MandrakeSoft, Mandrake Linux 9.0
- MandrakeSoft, Mandrake Linux 9.1
- MandrakeSoft, Mandrake Linux 9.1 PPC
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
- MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
- Olaf Kirch, nfs-utils 1.0.3 and prior
- RedHat, Enterprise Linux 2.1 AW
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Linux 7
- RedHat, Linux 7.1
- RedHat, Linux 7.1 for iSeries
- RedHat, Linux 7.1 for pSeries
- RedHat, Linux 7.2
- RedHat, Linux 7.3
- RedHat, Linux 8.0
- RedHat, Linux 9.0
- RedHat, Linux Advanced Workstation 2.1 Itanium
- SCO, Caldera OpenLinux Server 3.1.1
- SCO, Caldera OpenLinux Workstation 3.1.1
- Slackware, Slackware Linux 8.1
- Slackware, Slackware Linux 9.0
- Sun, Linux 5.0
- SuSE, Linux Enterprise Server 8
- SuSE, SuSE eMail Server 3.1
- SuSE, SuSE eMail Server III
- SuSE, SuSE Linux 7.2
- SuSE, SuSE Linux 7.3
- SuSE, SuSE Linux 8.0
- SuSE, SuSE Linux 8.1
- SuSE, SuSE Linux 8.2
- SuSE, SuSE Linux Connectivity Server
- SuSE, SuSE Linux Database Server
- SuSE, SuSE Linux Desktop 1.0
- SuSE, SuSE Linux Enterprise Server 7.0
- SuSE, SuSE Linux Firewall
- SuSE, SuSE Linux Office Server
- Turbolinux, Turbolinux 7 Server
- Turbolinux, Turbolinux 7 Workstation
- Turbolinux, Turbolinux 8 Server
- Turbolinux, Turbolinux 8 Workstation
- Turbolinux, Turbolinux Advanced Server 6
- Turbolinux, Turbolinux Server 6.1
- Turbolinux, Turbolinux Server 6.5
- Turbolinux, Turbolinux Workstation 6.0
Remedy:
Upgrade to the latest version of nfs-utils (1.0.4 or later), available from the NFS Web page. See References.
For Red Hat Linux:
Upgrade to the latest nfs-utils package, as listed below. Refer to Red Hat Linux Security Advisory RHSA-2003:206-05 for more information. See References.
Red Hat 7.1: 0.3.1-6.71 or later
Red Hat 7.2: 0.3.1-14.72 or later
Red Hat 7.3: 0.3.3-6.73 or later
Red Hat 8.0: 1.0.1-2.80 or later
Red Hat 9.0: 1.0.1-3.9 or later
For Red Hat Linux containing the nfs-utils package:
Upgrade to the latest nfs-utils package, as listed below. Refer to RHSA-2003:207-05 for more information. See References.
Red Hat Enterprise Linux AS (v. 2.1), ES (v.2.1), WS (v.2.1), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor: 0.3.3-7.21AS or later
For Red Hat Linux:
Upgrade to the latest nfs-utils package, as listed below. Refer to RHSA-2003:206-08 for more information. See References.
Red Hat 7.1 for iSeries and pSeries: 0.3.1-6.71 or later
Red Hat 7.2: 0.3.1-14.72 or later
Red Hat 7.3: 0.3.3-6.73 or later
Red Hat 8.0: 1.0.1-2.80 or later
Red Hat 9: 1.0.1-3.9 or later
For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest nfs-utils package (nfs-utils_1.0-2woody1 or later), as listed in DSA 349-1. See References.
For SuSE Linux:
Upgrade to the latest nfs-utils package, as listed below. Refer to SuSE Security Announcement SuSE-SA:2003:031 for more information. See References.
SuSE 8.2, 8.1 (Intel): 1.0.1-109 or later
SuSE 8.0 (Intel): 0.3.3-178 or later
SuSE 7.3 (Intel): 0.3.1-111 or later
SuSE 7.2 (Intel): 0.3.1-112 or later
SuSE 7.3 (Sparc): 0.3.1-49 or later
SuSe 7.3 (PPP Power PC): 0.3.1-60 or later
For Slackware Linux 8.1 and 9.0:
Upgrade to the latest nfs-utils package (1.0.4 or later), as listed in Slackware Security Advisory SSA:2003-195-01b. See References.
For Immunix 7+:
Upgrade to the latest version of nfs-utils (0.3.1-7_imnx_3 or later), as listed in Immunix Secured OS Security Advisory IMNX-2003-7+-018-01. See References.
For Gentoo Linux:
Upgrade to the latest version of nfs-utils (1.0.5 or later), as listed in Gentoo Linux Security Announcement 200307-07. See References.
For Trustix Secure Linux:
Upgrade to the latest nfs-utils package, as listed below. Refer to Trustix Secure Linux Security Advisory #2003-0027 for more information. See References.
Trustix Linux 1.2 and 1.5: 0.3.1-3tr or later
Trustix Linux 2.0: 1.0.5-1tr or later
For Conectiva Linux:
Upgrade to the latest nfs-utils package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2003:700 for more information. See References.
Conectiva Linux 7.0: 0.3.1-6U70_1cl or later
Conectiva Linux 8: 0.3.1-6U80_1cl or later
Conectiva Linux 9: 1.0.1-17482U90_1cl or later
For Turbolinux:
Upgrade to the latest nfs-utils package (0.3.1-5 or 0.2.1-10 or later), as listed in Turbolinux Security Advisory TLSA-2003-44. See References.
For Caldera OpenLinux Server and Workstation 3.1.1:
Upgrade to the latest version of nfs (0.2.1-12 or later), as listed in SCO Security Advisory CSSA-2003-037.0. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Denial of Service
References:
- BugTraq Mailing List, Mon Jul 14 2003 - 10:02:02 CDT, Linux nfs-utils xlog() off-by-one bug at http://archives.neohapsis.com/archives/bugtraq/2003-07/0157.html.
- Conectiva Linux Security Announcement CLSA-2003:700, nfs-utils at http://distro.conectiva.com/atualizacoes/index.php?id=a&anuncio=000700.
- DSA 349-1, nfs-utils - buffer overflow at http://archives.neohapsis.com/archives/bugtraq/2003-07/0169.html.
- Gentoo Linux Security Announcement 200307-07, nfs-utils at http://www.linuxsecurity.com/content/view/105214/104/. (From LinuxSecurity archive)
- Immunix Secured OS Security Advisory IMNX-2003-7+-018-01, nfs-utils at http://www.linuxsecurity.com/content/view/105204/105/. (From LinuxSecurity archive)
- NFS Web site, Project Info - NFS at http://sourceforge.net/projects/nfs/.
- SCO Security Advisory CSSA-2003-037.0, OpenLinux: Linux NFS utils package contains remotely exploitable off-by-one bug at ftp://ftp.sco.com/pub/security/OpenLinux/CSSA-2003-037.0.txt.
- SecuriTeam Mailing List, Security Holes & Exploits 17 Sep 2003, Remote rpc.mountd Exploit for xlog() Vulnerability at http://www.securiteam.com/exploits/5BP0G20B5K.html.
- Slackware Security Advisory SSA:2003-195-01, nfs-utils off-by-one overflow fixed at http://www.slackware.com/security/viewer.php?l=slackware-security&y=2003&m=slackware-security.374504.
- Slackware Security Advisory SSA:2003-195-01b, nfs-utils packages replaced at http://www.slackware.com/security/viewer.php?l=slackware-security&y=2003&m=slackware-security.360362.
- Sun Alert ID: 55882, Sun Linux 5.0 Denial of Service Vulnerability in "nfs-utils" Package Version 1.0.3 and Earlier at http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F55882&zone_32=category%3Asecurity.
- Trustix Secure Linux Security Advisory #2003-0027, nfs-utils at http://www.linuxsecurity.com/content/view/105210/109/. (From LinuxSecurity archive)
- VulnWatch Mailing List, Mon Jul 14 2003 - 16:23:11 CDT, Reality of the rpc.mountd bug at http://archives.neohapsis.com/archives/vulnwatch/2003-q3/0024.html.
- BID-8179: NFS-Utils Xlog Remote Buffer Overrun Vulnerability
- CVE-2003-0252: Off-by-one error in the xlog function of mountd in the Linux NFS utils package (nfs-utils) before 1.0.4 allows remote attackers to cause a denial of service and possibly execute arbitrary code via certain RPC requests to mountd that do not contain newlines.
- DSA-349: nfs-utils -- buffer overflow
- MDKSA-2003:076: Updated nfs-utils packages fix buffer overflow
- RHSA-2003-206: Updated nfs-utils packages fix denial of service vulnerability
- RHSA-2003-207: nfs-utils security update
- SA9259: nfs-utils "xlog()" Buffer Overflow Vulnerability
- SECTRACK ID: 1007187: `nfs-utils` Buffer Overflow May Let Remote Users Execute Arbitrary Code
- SUSE-SA:2003:031: nfs-utils: remote code execution
Reported:
Jul 14, 2003
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
