WebKit bug that was fixed upstream has yet to find its way into Apple products.
Apple has yet to patch a security bug found in iPhones and Macs despite the availability of a fix almost three weeks ago, a researcher said.
The vulnerability resides in WebKit, the browser engine that powers Safari and all browsers that run on iOS. When it was fixed almost three weeks ago by open source developers outside of Apple, the release notes said that the bug caused Safari to crash. In fact, a researcher from security firm Theori said the flaw is exploitable, and despite the availability of a fix, it still hasn’t made its way into either iOS or macOS.
Mind the gap
“This bug yet again demonstrates that patch-gapping is a significant danger with open source development,” Theori researcher Tim Becker wrote in a post published Tuesday. “Ideally, the window of time between a public patch and a stable release is as small as possible. In this case, a newly released version of iOS remains vulnerable weeks after the patch was public.”
Patch-gapping is the term used to describe the exploitation of a vulnerability during the usually brief window between the time it’s fixed upstream and when it becomes available to end users. In an interview, Becker said that the patch has yet to make its way into macOS as well.
The vulnerability stems from what security researchers call a type confusion bug in the WebKit implementation of AudioWorklet, an interface that allows developers to decrease latency and control, manipulate, render, and output audio data. Exploiting the vulnerability gives an attacker the basic building blocks to remotely execute malicious code on affected devices.Advertisement
To make the exploitation work in real-world scenarios, however, an attacker would still need to bypass Pointer Authentication Codes, or PAC, an exploit mitigation that requires a cryptographic signature before code in memory can be executed. Without the signature or a bypass, it would be impossible for malicious code written by the WebKit exploit to actually run.
“The exploit builds arbitrary read/write primitives which could be used as part of a larger exploit chain,” Becker said, referring to proof-of-concept attack code his company has released. “It does not bypass PAC. We consider PAC bypasses to be separate security issues and thus should be disclosed separately.”
Theori said company researchers independently discovered the vulnerability but that it had been fixed upstream before they could report it to Apple.
“We didn't expect Safari to still be vulnerable weeks after the patch was public, but here we are... ” Becker wrote on Twitter.
This exploit was a fun challenge. We didn't expect Safari to still be vulnerable weeks after the patch was public, but here we are... https://t.co/jkEH7w498Q— Tim Becker (@tjbecker_) May 26, 2021
Eight Apple zerodays and countingFurther ReadingZero-click iMessage zero-day used to hack the iPhones of 36 journalistsWhile the threat posed by this vulnerability isn’t immediate, it’s still potentially serious, because it clears a major hurdle required to wage the kinds of in-the-wild exploits that have bedeviled iOS and macOS users in recent months.
According to a spreadsheet maintained by Google’s Project Zero vulnerability research team, seven vulnerabilities have been actively exploited against Apple users since the beginning of the year. The figure rises to eight when including a macOS zeroday that Apple patched on Monday. Six of the eight vulnerabilities resided in WebKit.
Apple representatives didn’t respond to an email seeking comment for this post.
Exploitable security bug remains in iOS and macOS 3 weeks after upstream fix
As Apple's annual WWDC conference wraps up, we have a whole week ...
CD Projekt Red, the maker of The Witcher series, Cyberpu...
One of the tasks nearly any sysadmin frequently encounters is the...
Chrome is ending its war on address bar URLs—at least for now. About a year a...
Android 12 Beta 2 came out this week, and with it, a lot of features we've ...
A new blog post from the developers of Apple-owned, hyperlocal we...