Description
This module attempts to gain root privileges on Linux systems by abusing UDP Fragmentation Offload (UFO).
This exploit targets only systems using Ubuntu (Trusty / Xenial) kernels 4.4.0-21 <= 4.4.0-89 and 4.8.0-34 <= 4.8.0-58, including Linux distros based on Ubuntu, such as Linux Mint.
The target system must have unprivileged user namespaces enabled and SMAP disabled.
Bypasses for SMEP and KASLR are included. Failed exploitation may crash the kernel.
This module has been tested successfully on various Ubuntu and Linux Mint systems, including:
Ubuntu 14.04.5 4.4.0-31-generic x64 Desktop; Ubuntu 16.04 4.8.0-53-generic; Linux Mint 17.3 4.4.0-89-generic; Linux Mint 18 4.8.0-58-generic
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/ufo_privilege_escalationmsf undefined(ufo_privilege_escalation) > show actions ...actions...msf undefined(ufo_privilege_escalation) > set ACTION < action-name >msf undefined(ufo_privilege_escalation) > show options ...show and set options...msf undefined(ufo_privilege_escalation) > 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