Rapid7 Vulnerability & Exploit Database

macOS Dirty Cow Arbitrary File Write Local Privilege Escalation

Back to Search

macOS Dirty Cow Arbitrary File Write Local Privilege Escalation

Disclosed
12/17/2022
Created
02/02/2023

Description

An app may be able to execute arbitrary code with kernel privileges

Author(s)

  • Ian Beer
  • Zhuowei Zhang
  • 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/mac_dirty_cow
msf exploit(mac_dirty_cow) > show targets
    ...targets...
msf exploit(mac_dirty_cow) > set TARGET < target-id >
msf exploit(mac_dirty_cow) > show options
    ...show and set options...
msf exploit(mac_dirty_cow) > 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

;