Description
sys/nfsclient/nfs_vfsops.c in the NFS client in the kernel in FreeBSD 7.2 through 8.1-PRERELEASE, when vfs.usermount is enabled, does not validate the length of a certain fhsize parameter, which allows local users to gain privileges via a crafted mount request.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- FreeBSD 8.0/7.3/7.2 - 'nfs_mount()' Local Privilege Escalation EDB-14002 · local · Jun 23, 2010 · verified
- FreeBSD - 'mountnfs()' Denial of Service EDB-14003 · dos · Jun 23, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- FreeBSD-SA-10:06 vendor-advisory
- 14003 exploit
- 14002 exploit
- 1024039 vdb-entry