Nfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS server (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Still, just another example of why C code can’t be exposed to the internet.
Replies (6)
Replies (1)
Replies (2)
NFSv4 needs idmapd, which is a different beast altogether.
Replies (2)
Still, getting root on your internal fileserver isn't great.
Replies (1)
This is how you can tell you’re reading a post from a Real Old Time hacker. Hasn’t been that way for a long time.
Replies (2)
Replies (2)
Replies (1)
If someone sets up an NFS server, they know what kind of risk they open themselves up to.
Replies (2)
I don't think preauth RCE is an expected risk of setting up NFS, actually.
Replies (2)
Replies (3)
Continue this thread (1 replies) →
Continue this thread (1 replies) →
Then, you need to add volumes to /etc/exports with allowed hostnames (with lots of parameters for access control).
I'm assuming that anything disallowed by /etc/exports is not allowed, this exploit included.
Replies (1)
Replies (1)
https://www.linuxjournal.com/content/encrypting-nfsv4-stunne...
How little have we learnt since then.