August 28, 2017 By Larry Loeb 2 min read

A deprecated Apple authorization application program interface (API) is still being used by many developers when installing updates on Mac operating systems.

Patrick Wardle, the chief security researcher at Synack, gave a presentation at last month’s DEF CON showing how a security issue with MacOS installers could, if abused, allow local attackers to install their own files.

No Modification Check in the Old API

Apple has known about the situation since 2013, and has already responded by creating a new interface that deals with the vulnerabilities. But the problem, Wardle said, is that many developers are just not using it.

The continued use of the AuthorizationExecuteWithPrivileges API leaves many applications vulnerable. Wardle found that the installers for Slack, Google Chrome, Dropcam and various security software programs, as well as the open source update library Sparkle, all used the deprecated version during their updates.

The problem with the older interface is simple: It does not verify that the file that is about to be executed has not been modified. A threat actor could get on to the machine by some means, such as a malicious email, and then lay in wait for the API to be called. Once called, the attacker can rewrite the file that is supposed to be installed and piggyback on the valid user credentials.

The Workaround

Apple came up with SMJobBless to get around this problem. With this method, the file is first copied to a more secure directory and cryptographically verified. This means that the developer has to cryptographically sign the file, along with other complexities.

Since the older variant is far less complicated and takes much less coding effort on the part of a developer to use, the older interface remains favored in day-to-day use. Developers told Threatpost that they did not consider the newer release to be a good replacement for the older, less secure one.

Apple should consider revisiting this problem to see if a more developer-friendly API solution is possible.

More from

When ransomware kills: Attacks on healthcare facilities

4 min read - As ransomware attacks continue to escalate, their toll is often measured in data loss and financial strain. But what about the loss of human life? Nowhere is the ransomware threat more acute than in the healthcare sector, where patients’ lives are literally on the line.Since 2015, there has been a staggering increase in ransomware attacks on healthcare facilities. And the impacts are severe: Diverted emergency services, delayed critical treatments and even fatalities. Meanwhile, the pledge some ransomware groups made during…

AI and cloud vulnerabilities aren’t the only threats facing CISOs today

6 min read - With cloud infrastructure and, more recently, artificial intelligence (AI) systems becoming prime targets for attackers, security leaders are laser-focused on defending these high-profile areas. They’re right to do so, too, as cyber criminals turn to new and emerging technologies to launch and scale ever more sophisticated attacks.However, this heightened attention to emerging threats makes it easy to overlook traditional attack vectors, such as human-driven social engineering and vulnerabilities in physical security.As adversaries exploit an ever-wider range of potential entry points…

4 trends in software supply chain security

4 min read - Some of the biggest and most infamous cyberattacks of the past decade were caused by a security breakdown in the software supply chain. SolarWinds was probably the most well-known, but it was not alone. Incidents against companies like Equifax and tools like MOVEit also wreaked havoc for organizations and customers whose sensitive information was compromised.Expect to see more software supply chain attacks moving forward. According to ReversingLabs' The State of Software Supply Chain Security 2024 study, attacks against the software…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today