Microsoft disclosed technical details of a vulnerability in Apple macOS that could be exploited by an attacker to bypass Gatekeeper.
Microsoft has disclosed details of a now-fixed security vulnerability dubbed AchillesĀ (CVE-2022-42821, CVSS score: 5.5) in Apple macOS that could be exploited by threat actors to bypass the Gatekeeper security feature.
The AppleĀ GatekeeperĀ is designed to protect OS X users by performing a number of checks before allowingĀ an App to run. In fact,Ā you will not be able to execute code that wasnāt signed by an Apple developer, you will not be able to run apps that werenāt downloaded from Appleās store if the device is notĀ jailbreakedĀ of course.
The flaw was discovered on July 27, 2022, by Jonathan Bar Or from Microsoft, it is a logic issue that was addressed with improved checks.
āOn July 27, 2022, Microsoft discovered a vulnerability in macOS that can allow attackers to bypass application execution restrictions imposed by Appleās Gatekeeper security mechanism, designed to ensure only trusted apps run on Mac devices. We developed a proof-of-concept exploit to demonstrate the vulnerability, which we call āAchillesā.ā reads the post published by Microsoft.
Microsoft researchers explained that Gatekeeper bypasses can be used by threat actors to install malware on macOS systems.
The experts pointed out that AppleāsĀ Lockdown Mode introduced in July does not prevent the exploitation of the Achilles bug.
The Achilles vulnerability relies on the Access Control Lists (ACLs) permission model to add extremely restrictive permissions to a downloaded file (i.e., āeveryone deny write, writeattr, writeextattr, writesecurity, chownā), to block the Safari browser from setting the quarantine extended attribute.
Below is the POC developed by Microsoft:
- Create a fake directory structure with an arbitrary icon and payload.
- Create an AppleDouble file with theĀ com.apple.acl.textĀ extended attribute key and a value that represents a restrictive ACL (we chose the equivalent of āeveryone deny write,writeattr,writeextattr,writesecurity,chownā). Perform the correct AppleDouble patching if usingĀ dittoĀ to generate the AppleDouble file.
- Create an archive with the application alongside its AppleDouble file and host it on a web server.
while video POC is available here.
Follow me on Twitter: @securityaffairs and Facebook and Mastodon
|
|
(SecurityAffairsĀ ā hacking, Gatekeeper)
The post Microsoft shares details for a Gatekeeper Bypass bug in Apple macOS appeared first on Security Affairs.

