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.
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_escmsf undefined(ntfs3g_priv_esc) > show actions ...actions...msf undefined(ntfs3g_priv_esc) > set ACTION < action-name >msf undefined(ntfs3g_priv_esc) > show options ...show and set options...msf undefined(ntfs3g_priv_esc) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub