[Bug 281003] NFS client can open the server on ZFS with sharenfs dataset

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 Aug 2024 03:12:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281003

            Bug ID: 281003
           Summary: NFS client can open the server on ZFS with sharenfs
                    dataset
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: toshiokagiwada@gmail.com

I wonder if it's ordinary thing or not for you.
But I felt needs to report.

I found the issue following:

I set sharenfs dataset like this:
#+begin_src
zfs set sharenfs="192.168.1.55,ro=192.168.1.56" zroot/usr/src
#+end src

Of course I can open this on 192.168.1.55 with NFS.
And then I set like this:

#+begin_src
zfs set sharenfs="ro=192.168.1.56" zroot/usr/src
#+end_src

I can open zroot/usr/src on 192.168.1.55

I thought this can be a security issue for many people.
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.