Post

XProtectRemediatorDubRobber infoleak on macOS (CVE-2024-40842)

A straightforward but consequential information disclosure (CVE-2024-40842) in macOS’s XProtectRemediatorDubRobber binary, which holds the Full Disk Access (TCC bypass) entitlement. The vulnerability stems from the binary invoking libmagic without sanitizing the MAGIC environment variable, allowing an attacker to redirect libmagic to a malicious database file. When libmagic parses invalid input, it prints failed lines to error messages, leaking arbitrary plaintext files—though binary content (databases, plists, images) escapes. The author notes the bug’s relatively low severity due to this limitation; Apple’s fix was straightforward: drop MAGIC before invoking the binary. Bounty: $6.5k with ~134-day remediation time.

Read original article

This post is licensed under CC BY 4.0 by the author.