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

What we can learn from the best collegiate cyber defenders

3 min read - This year marked the 19th season of the National Collegiate Cyber Defense Competition (NCCDC). For those unfamiliar, CCDC is a competition that puts student teams in charge of managing IT for a fictitious company as the network is undergoing a fundamental transformation. This year the challenge involved a common scenario: a merger. Ten finalist teams were tasked with managing IT infrastructure during this migrational period and, as an added bonus, the networks were simultaneously attacked by a group of red…

A spotlight on Akira ransomware from X-Force Incident Response and Threat Intelligence

7 min read - This article was made possible thanks to contributions from Aaron Gdanski.IBM X-Force Incident Response and Threat Intelligence teams have investigated several Akira ransomware attacks since this threat actor group emerged in March 2023. This blog will share X-Force’s unique perspective on Akira gained while observing the threat actors behind this ransomware, including commands used to deploy the ransomware, active exploitation of CVE-2023-20269 and analysis of the ransomware binary.The Akira ransomware group has gained notoriety in the current cybersecurity landscape, underscored…

New proposed federal data privacy law suggests big changes

3 min read - After years of work and unsuccessful attempts at legislation, a draft of a federal data privacy law was recently released. The United States House Committee on Energy and Commerce released the American Privacy Rights Act on April 7, 2024. Several issues stood in the way of passing legislation in the past, such as whether states could issue tougher rules and if individuals could sue companies for privacy violations. With the American Privacy Rights Act of 2024, the U.S. government established…

Topic updates

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