Google: Apple, your sneaky iPhone patching is endangering users

If I can find these bugs using public tools, think what baddies can do with secret ones, says Project Zero expert.

Google Project Zero accuses Linux of sloppy kernel patching

A Google Project Zero researcher has published a macOS exploit to demonstrate that Apple is exposing its users to security risks by patching serious flaws in iOS but not revealing the fact until it fixes the same bugs in macOS a week later.

This happened during Apple's update for critical flaws in iOS 12, tvOS 12 and Safari 12 on September 17.

A Wayback Machine snapshot of the original advisory doesn't mention any of the bugs that Project Zero researcher Ivan Fratric had reported to Apple, and which were actually fixed.

Then, a week later, after Apple patched the same bugs in macOS, the company updated its original advisory with details about the nine flaws that Fratric had reported, six of which affected Safari.

The update fixed a Safari bug that allowed arbitrary code execution on macOS if a vulnerable version of Safari browsed to a website hosting an exploit for the bugs.

SEE: 10 Terminal commands to speed your work on the Mac (free PDF)

While Fratric concedes that Apple is probably concealing the fix in iOS to buy time to patch macOS, he argues the end result is that people may ignore an important security update because they weren't properly informed by Apple in the security advisory.

"This practice is misleading because customers interested in the Apple security advisories would most likely read them only once, when they are first released and the impression they would get is that the product updates fix far fewer vulnerabilities and less severe vulnerabilities than is actually the case."

Even worse, a skilled attacker could use the update for iOS to reverse-engineer a patch, develop an exploit for macOS, and then deploy it against a macOS user-base that doesn't have a patch.

Users also don't know that Apple has released information that could make their systems vulnerable to attack.

Fratric developed an exploit for one of the Safari bugs he reported and published the attack on Thursday. The bugs were all found using a publicly available fuzzing tool he developed, called Domato, meaning anyone else, including highly advanced attackers, could use it too.

"If a public tool was able to find that many bugs, it is expected that private ones might be even more successful," he noted.

He wasn't aiming to write a reliable or sophisticated exploit, but the bug is useful enough for a skilled exploit writer to develop an attack to spread malware and "potentially do a lot of damage even with an unreliable exploit".

Fratric said he successfully tested the exploit on Mac OS 10.13.6 High Sierra, build version 17G65. "If you are still using this version, you might want to update," noted Fratric.

SEE: Cybersecurity in an IoT and mobile world (ZDNet special report) | Download the report as a PDF (TechRepublic)

On the upside, it appears Apple and its Safari WebKit team have improved the security of the browser compared with the results of Fratric's Domato fuzzing efforts last year, which turned up way more bugs in Safari than in Chrome, Internet Explorer, and Edge. Last year he found 17 Safari flaws using the fuzzing tool.

Despite this improvement, the newly found bugs indicate that Apple continues to introduce security flaws into the WebKit code base, and that they're getting included into release products before they're caught via internal security testing.

This internal testing failure suggests Apple needs to put more computing power behind fuzzing before releasing its products, according to Fratric.

His final word of warning is not to discount any of the bugs he found just because no one's seen them being attacked in the wild.

"While it is easy to brush away such bugs as something we haven't seen actual attackers use, that doesn't mean it's not happening or that it couldn't happen," the researcher noted.

Previous and related coverage

Apple iOS 12 security update tackles Safari spoofing, data leaks, kernel memory flaws

The iPad and iPhone maker's iOS 12 launch is accompanied by a slew of security updates for various products.

Windows 10 security: Google Project Zero shreds Microsoft's unique Edge defense

Google Project Zero says Microsoft's Arbitrary Code Guard in Edge fails where Chrome's site isolation succeeds.

Apple improves security protections in macOS Mojave

macOS Mojave is the latest version of the Mac operating system, unveiled today during Apple's WWDC conference.

Google Project Zero: 'Here's the secret to flagging up bugs before hackers find them'

Google's Project Zero has issues with Samsung and HackerOne's security bug reporting processes.

Google's Project Zero exposes unpatched Windows 10 lockdown bypass

Google denies multiple requests by Microsoft for an extension to Project Zero's 90-day disclose-or-fix deadline.

Chinese spy chips: 3 potential fallouts for the business world TechRepublic

A Bloomberg report found that Chinese spies secretly added microchips on motherboards that went to Apple, Amazon, and the CIA.

Apple, Amazon deny report that Chinese spy chips infiltrated their hardware CNET

The tech giants dispute the suggestion of a mass surveillance campaign.

Show Comments