module

Debian/Ubuntu ntfs-3g Local Privilege Escalation

Disclosed
Jan 5, 2017
Created
May 30, 2018

Description

ntfs-3g mount helper in Ubuntu 16.04, 16.10, Debian 7, 8, and possibly 9 does not properly sanitize the environment when executing modprobe.
This can be abused to load a kernel module and execute a binary payload as the root user.

Authors

jannh jannh@google.com
h00die mike@shorebreaksecurity.com

Platform

Linux

Architectures

x86, 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/linux/local/ntfs3g_priv_esc
msf exploit(ntfs3g_priv_esc) > show targets
...targets...
msf exploit(ntfs3g_priv_esc) > set TARGET < target-id >
msf exploit(ntfs3g_priv_esc) > show options
...show and set options...
msf exploit(ntfs3g_priv_esc) > 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.