module
Mac OS X TimeMachine (tmdiagnose) Command Injection Privilege Escalation
| Disclosed | Created |
|---|---|
| Apr 13, 2019 | Jun 29, 2019 |
Disclosed
Apr 13, 2019
Created
Jun 29, 2019
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
Platform
OSX,Python,Unix
Architectures
x64, python, cmd
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.