Skip to main content
Mallory
← Back to News
privilege-escalation-methodendpoint-software-vulnerabilitywidely-deployed-product-advisoryidentity-authentication-vulnerability

Race Condition in Apple Entitlement Checks Enabled Root Privilege Escalation

Attack Tradecraft · 2 sources · Updated 4mo ago · First seen Apr 21, 2019

Race Condition in Apple Entitlement Checks Enabled Root Privilege Escalation

A race condition in Apple’s userspace entitlement and code-signing checks allowed local attackers to bypass authorization in privileged IPC services and escalate to root. Project Zero documented the underlying weakness as racy validation tied to process identity, while a later public write-up showed the issue in practice in com.apple.appleseed.fbahelperd, Apple’s privileged Feedback Assistant XPC service, tracked as CVE-2019-8565.

The exploit abused PID reuse to impersonate a trusted client after the daemon validated the wrong process context, defeating entitlement checks that should have restricted access. Once inside the service, an attacker could invoke copyLogFiles: to copy arbitrary files through path traversal and chain additional helper behavior to achieve root code execution; Apple addressed the flaw in macOS 10.14.4 and iOS 12.2, and researchers said the bug reinforced that PID-based authorization in macOS IPC should be replaced with audit-token-based validation.

Why it matters

Impact assessment

Affects Apple macOS systems running vulnerable builds prior to macOS 10.14.4, and the underlying IPC validation pattern also applied to Apple platforms before iOS 12.2. The immediate business risk is local privilege escalation to root from an unprivileged or sandboxed context, enabling full device compromise, persistence, data theft, and security control bypass on targeted endpoints.

This is primarily a targeted post-compromise or malicious-local-user issue rather than a wormable remote exposure, but severity is high because exploitation yields root and abuses a trusted Apple privileged service. Public technical details and proof-of-concept material were published, increasing the likelihood of copycat use where vulnerable legacy systems remain deployed.

Supporting facts

  • Vulnerability: CVE-2019-8565 in Apple privileged XPC service com.apple.appleseed.fbahelperd.
  • Affected population: macOS users on versions before 10.14.4; Apple also fixed related trust issues by iOS 12.2.
  • Impact type: local privilege escalation, arbitrary file copy, root code execution.
  • Exposure scope: targeted/local exploitation; requires code execution on the device or a sandboxed foothold.
  • Exploitation status: public write-up and proof of concept were published.
  • Business consequences:
    • Endpoint takeover as root
    • Theft or manipulation of local data and logs
    • Persistence via privileged startup locations
    • Potential bypass of sandbox and endpoint protections
  • Industries affected: any enterprise, government, education, or consumer environment managing macOS endpoints, especially fleets with delayed patching or legacy devices.
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 · May 15, 2017 – Apr 21, 2019
  1. Apr 21, 20198y ago

    Public write-up and PoC for CVE-2019-8565 released

    A public technical write-up described how PID reuse could bypass fbahelperd authorization, how path traversal in copyLogFiles: enabled arbitrary file copies, and how those primitives could be chained to root code execution. The post also stated that a proof of concept for CVE-2019-8565 was published publicly.

    Rootpipe Reborn (Part II): CVE-2019-8565 Feedback Assistant Race Condition
  2. Reported Apr 21, 20198y ago

    Apple fixed CVE-2019-8565 in macOS 10.14.4 and iOS 12.2

    Apple addressed the local privilege escalation flaw in the privileged XPC service com.apple.appleseed.fbahelperd in macOS 10.14.4 and iOS 12.2. The fix also addressed the underlying trust issue discussed in the write-up for audit-token handling before those releases.

    Rootpipe Reborn (Part II): CVE-2019-8565 Feedback Assistant Race Condition
  3. May 15, 201710y ago

    Project Zero filed race condition bug for macOS/iOS entitlement checking

    A Project Zero issue titled "MacOS/iOS userspace entitlement checking is racy" was published, documenting the broader PID-based entitlement checking race pattern affecting Apple user-space IPC authorization.

    MacOS/iOS userspace entitlement checking is racy [42450244] - Project Zero
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

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.