module

Mac OS X TimeMachine (tmdiagnose) Command Injection Privilege Escalation

Disclosed
Apr 13, 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.
Title
NEW

Explore Exposure Command

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