Skip to main content
Mallory
← Back to News
privilege-escalation-techniqueendpoint-software-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-method

Apple Patched macOS Time Machine Root Escalation via Command Injection

Attack Tradecraft · 3 sources · Updated 4mo ago · First seen Apr 13, 2019

Apple Patched macOS Time Machine Root Escalation via Command Injection

Apple disclosed security fixes in macOS Mojave 10.14.4, Security Update 2019-002 High Sierra, and Security Update 2019-002 Sierra that addressed local privilege-escalation flaws in Time Machine diagnostic components. Public research later detailed a command injection bug, tracked as CVE-2019-8513, affecting macOS 10.12.x through 10.14.3, where a local user could abuse the timemachinehelper XPC service and the tmdiagnose utility to execute arbitrary shell commands as root.

The exploit reportedly worked by crafting a mounted disk image label so shell metacharacters were injected into a command built from diskutil output, ultimately yielding a root shell after diagnostic tasks completed. The same research also described a related arbitrary file overwrite issue in XPC helpers, assigned CVE-2019-8530, and noted it could previously be chained with an older sudo timestamp weakness; the findings echoed earlier public work on browser-to-system compromise and underscored how trusted macOS helper services could be leveraged for full system takeover.

Why it matters

Impact assessment

Apple patched a local privilege escalation path in macOS Time Machine diagnostic components that affected macOS Sierra 10.12.6, High Sierra 10.13.6, and Mojave 10.14.3 and earlier in those branches. The issue is severe for any organization with multi-user macOS endpoints because a local user or code already executing in user context could escalate to root, enabling full device takeover, security control bypass, persistence, and access to sensitive local data.

The exposure is broad across legacy macOS fleets rather than narrowly targeted, but the attack requires local execution and is not described as remote code execution by itself. The provided references do not report confirmed in-the-wild exploitation, but the public exploit research describes the technique as simple and reliable, which materially increases post-compromise risk on unpatched systems.

Affected populations

  • Enterprises, education, and SMBs operating legacy macOS endpoints
  • Managed and unmanaged Apple laptops/desktops running macOS 10.12.x through 10.14.3
  • Users exposed to initial access through malicious apps, browser compromise, or local account abuse

Severity and business impact

  • Root-level compromise of affected endpoints
  • Potential theft of credentials, local files, browser data, and enterprise secrets
  • Ability to disable or tamper with endpoint security tooling
  • Increased persistence and lateral movement opportunities after initial foothold
  • Reputational and operational impact if compromised Macs are used as trusted enterprise assets

Scope and exploitation status

  • Broad product exposure across multiple macOS releases before Apple’s fixes
  • Exploitation requires local code execution or a local user session
  • Public technical details lower the barrier for weaponization
  • No explicit in-the-wild exploitation evidence provided in the references
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · 2016 – Apr 13, 2019
  1. Apr 13, 20198y ago

    CodeColorist publishes Rootpipe Reborn Part I exploit analysis

    CodeColorist published a detailed writeup of the patched Time Machine command injection flaw, explaining how a crafted disk image label could trigger root command execution through timemachinehelper and tmdiagnose. The post also discussed the related arbitrary file overwrite issue tracked as CVE-2019-8530 and its prior exploitability with an older sudo timestamp flaw.

    Rootpipe Reborn (Part I): TimeMachine Command Injection
  2. Mar 25, 20198y ago

    Apple releases macOS 10.14.4 and security updates fixing two LPE flaws

    Apple released macOS Mojave 10.14.4, Security Update 2019-002 High Sierra, and Security Update 2019-002 Sierra, addressing CVE-2019-8513 and CVE-2019-8530. Apple said the issues were fixed with improved checks and credited CodeColorist of Ant-Financial LightYear Labs.

    About the security content of macOS Mojave 10.14.4, Security Update 2019-002 High Sierra, Security Update 2019-002 Sierra - Apple Support
  3. 2016

    Black Hat talk documents browser-to-system compromise techniques

    A Black Hat USA 2016 paper by Samuel Groß and Niklas Baumstark documented exploitation techniques for escalating from a browser compromise to full system compromise on macOS. The later Time Machine vulnerability writeup references this prior research context.

    Blackhat
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Macos High Sierra

Organizations

1 linked
Apple
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.