What problem does it solve?
NFS shares are frequently misconfigured with missing authentication, no_root_squash, or subtree_check disabled, yet testers often miss these issues because enumeration tools only list exports without validating exploitability. This Skill provides a structured workflow to enumerate, mount, and actively verify NFS weaknesses on port 2049 during authorized penetration tests.
Core Features & Use Cases
- Export and RPC Enumeration: Uses showmount, rpcinfo, nmap NSE scripts, and Metasploit to discover exports, mountd, and RPC programs across NFS versions.
- Misconfiguration Verification: Confirms UID/GID impersonation, no_root_squash, no_all_squash, and subtree_check export escapes with concrete proof steps such as planting SUID shells or reading /etc/shadow.
- Use Case: During an internal network assessment, a tester finds showmount lists /srv exported to all clients, mounts it with NFSv3, confirms root is not squashed by planting a root-owned SUID bash binary, and documents a critical finding with remediation guidance.
Quick Start
Enumerate and test the NFS service on the target host at 192.168.1.10 for export misconfigurations and UID impersonation.