From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,f7adb4ee6168b5b6,start X-Google-Attributes: gid10d4db,public From: "Alexander O. Yuriev" Subject: REPOST: Linux Security FAQ Update#1 - Universal NFS Server 2.0 Date: 1995/05/11 Message-ID: <3ost17$hqr@freya.yggdrasil.com>#1/1 X-Deja-AN: 102459105 original-date: 5 May 1995 17:29:45 +0300 followup-to: comp.os.linux.networking content-type: text/plain; charset=ISO-8859-1 organization: ? keywords: security, networking, NFS mime-version: 1.0 newsgroups: comp.os.linux.announce originator: wirzeniu@freya.yggdrasil.com NFS and Linux LINUX SECURITY FAQ UPDATE April 6, 19:50 EST Copyright (C) 1995 Alexander O. Yuriev CIS Laboratories, TEMPLE UNIVERSITY This is not a release of Linux Security FAQ. It is just an urgent update that has to be published because of the *FACT* that Linux system administrators are not aware of this problem. LINUX SYSTEM AS NFS CLIENT The Network File System support in Linux is splited into two parts. As a client, Linux has ability to access NFS volumes using nfs support which is incorporated into kernel. Presently, it is unknown if Linux kernel is volunerable to spoofed information. There are no incidents known to Olaf Kirch, Jeff Uphoff or me. LINUX SYSTEM AS NFS SERVER In order to provide NFS service, Linux system has to run a set of 3 programs: * Portmapper (rpc.portmap) Mount Daemon (rpc.mountd) * NFS Server (rpc.nfsd) Two of these 3 programs have *BIG* problems in all Slackware Linux distributions, that according to John Uphoff includes Slackware 2.2.0 that was recently released. All distributions released before March 12, 1995 are subject to one or more of those holes. Linux Portmapper (rpc.portmap) We are not aware of any Linux distribution that does not have a hole in a portmapper. You will also need tcp wrapper library to compile it. Linux NFS Server The Universal NFS Server used by Linux distributions is known to have *BIG* holes, including incorrect implementation of (root_squash) and virtually no authentication. The most secure Linux NFS Server as of today is Universal NFS Server 2.2 patched by Olaf Kirch. Linux Mount Daemon There are no known problems with Linux mount daemon by itself. The problem was the nfsd 2.0 had a hole that allowed to remote site to access entire tree of a partiotion even when rpc.mountd was not running at all. FIXES AND PATCHES Secure portmapper: ftp://linux.nrao.edu/pub/linux/security/nfsd/portmap-3.tar.gz Universal NFS Server 2.2alpha3 ftp://linux.nrao.edu/pub/linux/security/nfsd/nfs-server-2.2alpha3.tar.gz ---------CUT-HERE--------------CUT-HERE-------------CUT-HERE-------------- ============================================================================= CIS Laboratories email: alex@bach.cis.temple.edu TEMPLE UNIVERSITY ayuriev@yoda.cis.temple.edu USA Tel: 1-800-DEV-NULL http://bach.cis.temple.edu ============================================================================= -- Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember Keywords: and a short description of the software.