Security News > 2022 > July > Microsoft releases tweet-size exploit for macOS sandbox escape bug

Microsoft releases tweet-size exploit for macOS sandbox escape bug
2022-07-13 20:36

Microsoft has published the exploit code for a vulnerability in macOS that could help an attacker bypass sandbox restrictions and run code on the system.

The company released the technical details for the security issue, which is currently identified as CVE-2022-26706, and explained how the macOS App Sandbox rules could be avoided to allow malicious macro code in Word documents to execute commands on the machine.

The same could be achieved on macOS machines lacking the proper security updates, Microsoft warns in a report today.

"Despite the security restrictions imposed by the App Sandbox's rules on applications, it's possible for attackers to bypass the said rules and let malicious codes"escape" the sandbox and execute arbitrary commands on an affected device" - Microsoft.

Jonathan Bar Or of the Microsoft 365 Defender Research Team explains that the vulnerability was discovered while looking into methods to run and detect malicious macros in Microsoft Office documents on macOS. To ensure backward compatibility, Microsoft Word can read and write files that come with the prefix "~$," which is defined in the app's sandbox rules.

After studying older reports [1, 2] about escaping the macOS sandbox, the researchers found that using Launch Services to run an open -stdin command on a special Python file with the abovementioned prefix allows escaping the App Sandbox on macOS, potentially leading to compromising the system.


News URL

https://www.bleepingcomputer.com/news/security/microsoft-releases-tweet-size-exploit-for-macos-sandbox-escape-bug/

Related Vulnerability

DATE CVE VULNERABILITY TITLE RISK
2022-05-26 CVE-2022-26706 Unspecified vulnerability in Apple products
An access issue was addressed with additional sandbox restrictions on third-party applications.
network
apple
4.3

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Microsoft 663 794 4391 4085 3666 12936