CVE-2010-2020
FreeBSD 7.2-8.1-PRERELEASE - Privilege Escalation via NFS Client fhsize Parameter
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2010-2020. PoCs published by Patroklos Argyroudis.
AI-analyzed exploit summary This exploit targets a kernel stack overflow in FreeBSD's nfs_mount() function via insufficient input validation, leading to local privilege escalation on FreeBSD 7.2/7.3 or DoS on FreeBSD 8.0. It leverages the nmount() system call with a crafted NFS file handle to overwrite kernel memory.
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.
Exploits (2)
This exploit targets a kernel stack overflow in FreeBSD's nfs_mount() function via insufficient input validation, leading to local privilege escalation on FreeBSD 7.2/7.3 or DoS on FreeBSD 8.0. It leverages the nmount() system call with a crafted NFS file handle to overwrite kernel memory.
This exploit targets a kernel heap overflow in FreeBSD's mountnfs() function via insufficient input validation, leading to a denial-of-service (DoS) or potential privilege escalation. It leverages the nmount() system call with a maliciously crafted file handle to trigger the vulnerability.