Rapid7 Vulnerability & Exploit Database

Mac OS X Root Privilege Escalation

Back to Search

Mac OS X Root Privilege Escalation

Disclosed
11/29/2017
Created
06/14/2018

Description

This module exploits a serious flaw in MacOSX High Sierra. Any user can login with user "root", leaving an empty password.

Author(s)

  • chethan177
  • lemiorhan
  • timwr

Platform

OSX

Architectures

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

;