NetBSD Problem Report #1086
From gnats Mon May 29 23:42:13 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id XAA01107 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 29 May 1995 23:42:13 -0700
Message-Id: <199505292351.UAA00553@gaia.coppe.ufrj.br>
Date: Mon, 29 May 1995 20:51:04 -0300
From: jonny@gaia.coppe.ufrj.br
Reply-To: jonny@gaia.coppe.ufrj.br
To: gnats-bugs@NetBSD.ORG, jonny@gaia.coppe.ufrj.br
Subject: NFS Security Hole
X-Send-Pr-Version: 3.2
>Number: 1086
>Category: kern
>Synopsis: NFS - Security Hole - User map does not refuse root
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 29 23:50:05 +0000 1995
>Closed-Date: Mon May 20 17:03:14 +0000 1996
>Last-Modified: Mon May 20 17:04:31 +0000 1996
>Originator: Joao Carlos Mendes Luis
>Release: 1.0
>Organization:
Universidade Federal do Rio de Janeiro
>Environment:
System: NetBSD gaia.coppe.ufrj.br 1.0 NetBSD 1.0 (GAIA) #11: Sat May 27 23:11:45 EST 1995 jonny@gaia.coppe.ufrj.br:/usr/src/sys/arch/i386/compile/GAIA i386
>Description:
When I export a directory with -mapall option it does not work
correctly with foreign root. Permissions to read directories are
bypassed.
All other permissions seen to be ok:
- I cannot read, write, or even create a file.
>How-To-Repeat:
1) Example /etc/exports file:
/usr/home/ftp -ro -mapall=nobody: -network ufrj
2) Create a directory like:
drwx--x--x 4 root wheel 512 Apr 23 16:09 /usr/home/ftp/hidden
Mount the file system in another machine. Access as root.
You can see all files in the directory.
>Fix:
Sorry, I haven't tried.
Jonny
--
Joao Carlos Mendes Luis jonny@coe.ufrj.br
+55 21 290-4698 ( Job ) jonny@adc.coppe.ufrj.br
Network Manager UFRJ/COPPE/CISI
Universidade Federal do Rio de Janeiro
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mrg
State-Changed-When: Mon May 20 13:03:14 EDT 1996
State-Changed-Why:
this appears to have been fixed with the NFSv3 integration.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.