module

Mac OS X NFS Mount Privilege Escalation Exploit

Disclosed
2014-04-11
Created
2018-05-30

Description

This exploit leverages a stack buffer overflow vulnerability to escalate privileges.
The vulnerable function nfs_convert_old_nfs_args does not verify the size
of a user-provided argument before copying it to the stack. As a result, by
passing a large size as an argument, a local user can overwrite the stack with arbitrary
content.

Mac OS X Lion Kernel

Authors

Kenzley Alphonse
joev joev@metasploit.com

Platform

OSX

Architectures

x64

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/osx/local/nfs_mount_root
msf exploit(nfs_mount_root) > show targets
...targets...
msf exploit(nfs_mount_root) > set TARGET < target-id >
msf exploit(nfs_mount_root) > show options
...show and set options...
msf exploit(nfs_mount_root) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.