Cyber Security News

New “Daemon Ex Plist” Vulnerability Gives Attackers Root Access on macOS

A critical vulnerability in macOS allows attackers to escalate privileges to root access through misconfigured daemon services. 

The vulnerability, dubbed “Daemon Ex Plist,” exploits weaknesses in how macOS handles service property list (plist) files and has been found to affect multiple popular VPN applications and other software.

Key Takeaways
1. macOS daemons left behind in /Library/LaunchDaemons/ with writable paths.
2. Impacts numerous VPN clients and other apps
3. Install privileged helper binaries and clean up daemon plist entries.

macOS Root Privilege Escalation

The vulnerability stems from the improper configuration of macOS daemon services that run with root privileges. 

When applications are installed, they create plist files in /Library/LaunchDaemons/ that define service configurations, including the path to executable files. 

The critical flaw occurs when these plist files reference executable paths that regular users can access or modify. The issue becomes exploitable when applications are uninstalled but leave their plist files behind. 

“If the developer does not manually remove the plist files from /Library/LaunchDaemons/, we can exploit this oversight,” PT SWARM reports.

The exploitation process involves creating a malicious executable at the path specified in the abandoned plist file. For example, a typical vulnerable plist might contain:

Attackers can then compile and deploy malicious code using commands like:

Affected Applications

The vulnerability has been confirmed in numerous popular applications, with VPN software being particularly susceptible due to their need for system-level access. 

Affected applications include Mozilla VPN (v2.28.0), Tunnelblick (7.1beta01 build 6220), Pritunl (1.3.4220.57), Cloudflare Warp, ExpressVPN, Amnezia VPN (4.8.6.0), Mullvad VPN (2025.7), and Red Shield VPN (3.5.7).

Beyond VPN applications, other software categories are also vulnerable, including OneDrive and Logitech G Hub. 

The researchers noted that “several other vendors are also vulnerable to this issue, and have not yet released a patch”.

To address this vulnerability, developers should relocate daemon executable files to /Library/PrivilegedHelperTools/, a directory that requires root privileges for write access. This prevents regular users from creating malicious files in these locations.

Users can check for potentially vulnerable services by examining files in /Library/LaunchDaemons/ using the command:

The vulnerability highlights the importance of proper cleanup during application uninstallation and secure path configuration for system services running with elevated privileges.

Boost detection, reduce alert fatigue, accelerate response; all with an interactive sandbox built for security teams -> Try ANY.RUN Now 

Kaaviya

Kaaviya is a Security Editor and fellow reporter with Cyber Security News. She is covering various cyber security incidents happening in the Cyber Space.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

3 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

3 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

4 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

4 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

4 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

6 hours ago