module
Mac OS X TimeMachine (tmdiagnose) Command Injection Privilege Escalation
Disclosed | Created |
---|---|
2019-04-13 | 2019-06-29 |
Disclosed
2019-04-13
Created
2019-06-29
Description
This module exploits a command injection in TimeMachine on macOS order to run a payload as root. The tmdiagnose binary on OSX from a command injection vulnerability that can be exploited by creating a
specially crafted disk label.
The tmdiagnose binary uses awk to list every mounted volume, and composes
shell commands based on the volume labels. By creating a volume label with the
backtick character, we can have our own binary executed with root priviledges.
specially crafted disk label.
The tmdiagnose binary uses awk to list every mounted volume, and composes
shell commands based on the volume labels. By creating a volume label with the
backtick character, we can have our own binary executed with root priviledges.
Authors
CodeColorist
timwr
timwr
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.