NFS:
Privilege Escalation
Abuse NFS no_root_squash to plant SUID binaries or SSH keys
NFS privilege escalation exploits no_root_squash, the most dangerous NFS misconfiguration. When an export disables root squashing, a local root user on the client is treated as root on the server's filesystem.
With root access to the mounted share, plant a SUID binary or modify system files like /etc/passwd. The target system then executes the binary with root privileges, giving full control through a file written over NFS.