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

Airplane cybersecurity: Past, present, future

4 min read - With most aviation processes now digitized, airlines and the aviation industry as a whole must prioritize cybersecurity. If a cyber criminal launches an attack that affects a system involved in aviation — either an airline’s system or a third-party vendor — the entire process, from safety to passenger comfort, may be impacted.To improve security in the aviation industry, the FAA recently proposed new rules to tighten cybersecurity on airplanes. These rules would “protect the equipment, systems and networks of transport…

Protecting your digital assets from non-human identity attacks

4 min read - Untethered data accessibility and workflow automation are now foundational elements of most digital infrastructures. With the right applications and protocols in place, businesses no longer need to feel restricted by their lack of manpower or technical capabilities — machines are now filling those gaps.The use of non-human identities (NHIs) to power business-critical applications — especially those used in cloud computing environments or when facilitating service-to-service connections — has opened the doors for seamless operational efficiency. Unfortunately, these doors aren’t the…

Communication platforms play a major role in data breach risks

4 min read - Every online activity or task brings at least some level of cybersecurity risk, but some have more risk than others. Kiteworks Sensitive Content Communications Report found that this is especially true when it comes to using communication tools.When it comes to cybersecurity, communicating means more than just talking to another person; it includes any activity where you are transferring data from one point online to another. Companies use a wide range of different types of tools to communicate, including email,…

Topic updates

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