Apple TCC bypass through environment-variable manipulation
CVE-2020-9934 is an environment-variable validation vulnerability that enables a local user to bypass Apple's Transparency, Consent, and Control (TCC) protections. In the documented macOS exploit, the per-user tccd daemon derives its authorization database location from the attacker-controllable HOME environment variable. Changing that variable and restarting the daemon redirects it to an attacker-controlled database outside the original database's System Integrity Protection (SIP) protections. The attacker can then insert authorization decisions that permit applications to access protected user data without consent prompts. Apple's affected-platform description includes iOS and iPadOS, while the technical writeup states that this particular TCC bypass applies only to macOS.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
A local attacker can bypass TCC authorization checks and access sensitive user information without obtaining the user's consent. The demonstrated exploit granted an application access to the user's protected Documents folder. It also permits modification of authorization decisions in the redirected TCC database without modifying the original SIP-protected database.
If you can’t patch tonight, do this now.
Until the system is patched, restrict local access to trusted users only and monitor for unusual access to TCC-protected directories. No effective configuration-based mitigation is available due to the nature of the flaw.
Patch, then assume compromise.
Install the applicable Apple update addressing CVE-2020-9934: macOS Catalina 10.15.6, Security Update 2020-004 for applicable macOS releases, or iOS/iPadOS 13.6. The fix improves validation of environment variables. Security Update 2020-004 was released on July 15, 2020.
2 exploits validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.