Nfs Privilege Escalation

Privilege escalation via NFS no_root_squash misconfiguration. Use this skill whenever you need to escalate privileges on a Linux system with NFS shares, when you find /etc/exports with no_root_squash, when you have access to an NFS share and want to gain root, or when you're doing Linux privilege escalation and NFS is available. This includes both remote exploits (mounting from attacker machine) and local exploits (using libnfs to forge RPC calls).

abelrguezr Updated

File contents

abelrguezr/hacktricks-skills/tree/main/skills/linux-hardening/privilege-escalation/nfs-no_root_squash-misconfiguration-pe commit 9939c436ea

Frequently asked questions

npx skillmds@latest add abelrguezr/nfs-privilege-escalation