Rapid7 Vulnerability & Exploit Database

Ubuntu Enlightenment Mount Priv Esc

Back to Search

Ubuntu Enlightenment Mount Priv Esc

Disclosed
09/13/2022
Created
10/04/2022

Description

This module exploits a command injection within Enlightenment's enlightenment_sys binary. This is done by calling the mount command and feeding it paths which meet all of the system requirements, but execute a specific path as well due to a semi-colon being used. This module was tested on Ubuntu 22.04.1 X64 Desktop with enlightenment 0.25.3-1 (current at module write time)

Author(s)

  • h00die
  • Maher Azzouzi

Platform

Linux

Architectures

x86, x64

Development

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/ubuntu_enlightenment_mount_priv_esc
msf exploit(ubuntu_enlightenment_mount_priv_esc) > show targets
    ...targets...
msf exploit(ubuntu_enlightenment_mount_priv_esc) > set TARGET < target-id >
msf exploit(ubuntu_enlightenment_mount_priv_esc) > show options
    ...show and set options...
msf exploit(ubuntu_enlightenment_mount_priv_esc) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;