Cyber Security News

macOS Calendar Zero-Click Vulnerability Let Attackers Execute Malicious Code

A critical zero-click vulnerability has been discovered in macOS Calendar, allowing attackers to add or delete arbitrary files within the Calendar sandbox environment and execute malicious code without any user interaction.

The vulnerability, found by security researcher Mikko Kenttala in 2022, could also be combined with a security protection evasion in Photos to compromise users’ sensitive iCloud Photos data.

The exploit begins with an attacker sending a malicious calendar invite containing a file attachment with an unsanitized filename. This allows the attacker to perform a directory traversal attack and place the file in unintended locations on the victim’s filesystem.

The vulnerability, tracked as CVE-2022-46723, enables attackers to overwrite or delete files within the Calendar app’s filesystem. Attackers could then escalate the attack by injecting malicious calendar files designed to execute code when macOS is upgraded, particularly from Monterey to Ventura.

Decoding Compliance: What CISOs Need to Know – Join Free Webinar

These injected files included events with alert functionalities that would trigger when the system processed calendar data. The files would contain code to automatically launch .dmg images and .url shortcuts, eventually leading to remote code execution (RCE).

To demonstrate the severity of the exploit, Kenttala showed how an attacker could abuse Photos to leak private user pictures stored on iCloud.

Attack Chain

By changing the configuration of Photos to use an unprotected directory as the System Photo Library, the attacker could bypass the Transparency, Consent, and Control (TCC) protection and gain access to the victim’s iCloud photos.

Apple’s Response

Apple has fixed all of the vulnerabilities between October 2022 and September 2023. The fixes involved tightening file permissions within the Calendar app and adding additional security layers to prevent the directory traversal exploit.

To protect against zero-click vulnerabilities like this one, users are advised to keep their software up to date, as Apple frequently releases patches addressing security flaws. Additionally, restricting apps’ access to sensitive data, such as calendars and photos, can help strengthen device security.

This vulnerability highlights the ongoing threat of increasingly sophisticated attacks targeting users’ private data. Staying vigilant and promptly applying security updates remain crucial in mitigating these risks.

Are You From SOC/DFIR Teams? - Try Advanced Malware and Phishing Analysis With ANY.RUN - 14-day free trial

Guru Baran

Gurubaran KS is a cybersecurity analyst, and Journalist with a strong focus on emerging threats and digital defense strategies. He is the Co-Founder and Editor-in-Chief of Cyber Security News, where he leads editorial coverage on global cybersecurity developments.

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…

4 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…

4 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…

5 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,…

6 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…

6 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…

7 hours ago