upvote
Not public internet, no, but open to internal networks. For example: University networks. Many installation with NFS shared home. Can people now get root on the server? I'm not sure you need mounting rights on the server (i.e. a /etc/exports entry) to exploit this.
reply
I'm not "in the game" right now but here's my take on this:

  1. there are some servers where an NFS export is provided to some users basically "read only" and where the security model is "if you're in the same network you can access this data; we're all friends but I'll keep the crown jewels in that other walled off network away from y'all."  In that case, using NFS V3 style UID access management is good enough.  This (for those sorts of users) is an "audit the config, update it to use only NFS versions that aren't subject to this and disable the newer versions... probably also update the "risk register and put a "we'll never actually do this" story in place to update this to some object store / proper data warehouse style system.

  2. there are systems such as what you've described where there's users with NFS shared homes.  In those situations, hopefully, they're using some sort of "Appliance" system such as a netapp, where things like HA and such are managed by the vendor.  In those cases, hopefully, they're not relying on kernel NFS services, and again this is not an issue.

  3. there are systems such as the one above, but they're actually using linux.  In those cases, hopefully, they're using NFS-ganesha (a userland NFS server) because it's got a couple nice big-iron management style features.  Again, this avoids this V4.1+ situation.

  4. people stuck in amber, who are doing as you suggest (NFS kernel exports of things that require real user identities) -- those situations are actually kinda rare, and hopefully those people who are actually doing this know what they're doing, or are so YOLO that they don't care.
reply
Uh, I think part of the motivation for NFSv4 was the poor performance of NFSv3 over long distances (long fat pipes) across the Internet. But that was 20 years ago, before cloud computing / cloud storage became a thing.
reply
> the poor performance of NFSv3 over long distances

Ooo now, thats a good question. I used to work in VFX, and NFS was/is the bread and butter of file IO. We used to turn off v4 because it was slower over the LAN. If we were doing long disntance we'd use aspera (or what ever opensource version we could get our hands on) failing that we'd ship LTO5/6 tapes.

From a performance point of view, I know that v4 could do clustered servers natively. As in "HA" for NFS servers (that did require clustered filesystem though....)

the problem being was that you needed to fiddle about with auth to make it work, which from my understanding caused performance issues. But, that was in 2014, and we are many years ahead in CPU and memory speed now.

reply
I do recall an educational institute in the late 90s exporting their /home directories to *(rw,root_squash), No firewall.
reply