Skip to content

Write-ups

Apple (macOS)

Every publicly disclosed report for Apple (macOS), what kind of bugs they were and what was paid.

disclosed reports
23
with a public bounty
3
median public bounty
$31k
public bounties in all
$84k

Disclosed reports

Newest first. Only what Apple (macOS) chose to make public.

Race condition

The Nightmare of Apple's OTA Update: Bypassing the Signature Verification and Pwning the Kernel

The macOS OTA update process moved the downloaded package into a SIP-protected location while leaving a time window in which a root user could swap files, and the signature check on the package manifest followed a symbolic link, so a tampered package could pass verification. An attacker with root could then remove arbitrary SIP-protected paths and, on Intel Macs without a T2 chip, inject a crafted kernel patch to run code at ring 0.

Apple (macOS)

Access control $23,000

macOS AUHelperService Full TCC Bypass

An XPC service with Full Disk Access entitlement accepted all clients and exposed routines that allowed reading and writing arbitrary files, including the user's TCC database. An attacker could bypass TCC protections and replace the TCC.db to grant themselves additional permissions.

Apple (macOS)

Path traversal

Zero-Click Calendar invite — Critical zero-click vulnerability chain in macOS

A zero-click vulnerability in macOS Calendar allowed an attacker to write and delete arbitrary files inside the Calendar sandbox via a directory traversal in attachment filenames. This was chained with other flaws to achieve remote code execution and access iCloud Photos without user interaction.

Apple (macOS)

RCE

CVE-2024-27822: macOS PackageKit Privilege Escalation

macOS PackageKit ran installation scripts from PKG files as root but in the current user's environment, so a ZSH-based script would load the user's .zshenv file. An attacker who could write to that file could execute code as root when the user installed a ZSH-based PKG.

Apple (macOS)

Access control

ELECTRONizing macOS privacy

Electron apps on macOS inherit user-granted TCC privacy permissions, and if the app has the EnableNodeCliInspectArguments fuse enabled, an attacker can use the --inspect flag to execute arbitrary JavaScript in the app's context and spawn a child process that inherits those permissions.

Apple (macOS)

Access control $30,500

sqlol (CVE-2023-32422) - a macOS TCC bypass

A debug feature in libsqlite, enabled by the SQLITE_SQLLOG_DIR environment variable, wrote copies of opened databases to an attacker-controlled directory with predictable filenames, followed symlinks, and overwrote files. An attacker could use a privileged app like Music to overwrite the user's TCC.db and gain access to protected data.

Apple (macOS)

Info disclosure

Demo: Brute-forcing a macOS user’s real name from a browser using mDNS

A technique was demonstrated to brute-force a macOS user's first name by resolving mDNS hostnames from a browser using timing differences. An attacker could potentially de-anonymise visitors by testing common names and device hostnames, though the attack is limited and not practical.

Apple (macOS)

Access control

CVE-2022-32902: Patch One Issue and Introduce Two

A system daemon with Full Disk Access allowed copying arbitrary files to a world-readable location after a weak admin check, enabling theft of TCC-protected files. The patch introduced a bypassable code-signing check and unsafe deserialisation, allowing arbitrary code execution in the daemon context.

Apple (macOS)

Access control

Finding and reporting a Gatekeeper bypass exploit with help from Mac Monitor

Two vulnerabilities in macOS allowed an attacker to bypass Gatekeeper by evading File Quarantine, enabling execution of malicious binaries. One involved a Mach-O binary named with a resource fork prefix that was not quarantined; the other involved a browser that failed to apply quarantine attributes despite being opted in.

Apple (macOS)

Access control

CVE-2023-26818 - Bypass TCC with Telegram in macOS

The Telegram macOS app was not built with the Hardened Runtime, so an attacker could inject an unsigned dynamic library via the DYLD_INSERT_LIBRARIES environment variable. This allowed the injected code to inherit Telegram's camera permission and record video without the user's consent.

Apple (macOS)

Access control

Trellix Advanced Research Center Discovers a New Privilege Escalation Bug Class on macOS and iOS

Apple's NSPredicate expression language, used in inter-process communication, could be abused to run arbitrary code in privileged system services because the safety checks (NSPredicateVisitor) trusted a property set by the sender. An attacker with code execution in a less privileged process could escalate privileges and access sensitive data such as messages, location, photos, and call history.

Apple (macOS)

RCE

Alias file to rule them all — One click code execution with alias file in macOS

A chain of flaws in macOS allowed an attacker to mount a remote SMB share at an arbitrary path by using a crafted alias file and URL encoding tricks, and to replace the TCC privacy database by mounting a malicious disk image. This led to arbitrary code execution with user privileges and access to sensitive user data after a single click.

Apple (macOS)

Access control

CVE-2022-22655 - TCC - Location Services Bypass

The location services client list is stored in a file protected by TCC, but its directory can be overridden by mounting a custom disk image. An attacker with root can mount a crafted image to grant location access to an arbitrary executable, bypassing TCC.

Apple (macOS)

Access control

CVE-2023-23525: Get Root via A Fake Installer

The default application for opening PKG files could be changed to a fake installer that mimics the system installer. When a user granted root privileges to install a package, the fake installer could abuse the authorization to run arbitrary code with root privileges.

Apple (macOS)

Access control

Bypass TCC via iCloud

Two Apple apps, GarageBand and iMovie, could be made to load attacker-controlled code because of weak library validation and missing hardened runtime, letting an attacker use their iCloud entitlements to obtain the user's iCloud tokens and read TCC-protected data such as contacts, calendars and location.

Apple (macOS)

Access control

A Technical Analysis of CVE-2022-22583 and CVE-2022-32800

The PackageKit framework created a temporary sandbox directory without restrictions, allowing an attacker to replace it with a symlink and redirect privileged scripts to a controlled location, thereby bypassing System Integrity Protection. A second flaw allowed hijacking the SandboxState file on a DMG volume to control the PKInstallSandbox instance and delete arbitrary SIP-protected paths.

Apple (macOS)

Race condition

Diving into an Old Exploit Chain and Discovering 3 new SIP-Bypass Vulnerabilities

The postinstall script of an Apple-signed package used an arbitrary install destination volume path, allowing an attacker to drop a malicious payload that would be executed in a SIP-Bypass context. By ejecting the DMG volume at the right moment, the volume path check could be bypassed, leading to arbitrary script execution with SIP bypass.

Apple (macOS)

Access control

CVE-2020–9854: "Unauthd"

A logic flaw in authd allowed a local user to codesign a binary with arbitrary entitlements without validity checks, granting rights such as system.install.apple-software. This enabled installation of Apple-signed packages to non-SIP locations, leading to root code execution and a SIP bypass, and a race condition in kextutil allowed loading unsigned kernel extensions.

Apple (macOS)

RCE

Breaking SIP With Apple-signed Packages

Several Apple-signed installer packages ran installation scripts that trusted the USER environment variable, allowing command injection. Because Apple-signed packages are installed by a privileged service that holds an entitlement to write to SIP-protected locations, an attacker who could run the installer with a crafted environment variable could inherit that entitlement and bypass System Integrity Protection.

Apple (macOS)