Apple Rushes to Fix MacOS High Sierra All Access Bug

Apple shipped its latest desktop operating system, High Sierra, with a massive vulnerability that allows anyone to easily create a new “root” account, meaning an account that has access to all files on the computer.
See Also: Ransomware: The Look at Future Trends
Lemi Orhan Ergin, an Agile software developer at a company called Iyzico, described the vulnerability on Tuesday via Twitter, in a tweet that has been widely retweeted.
“Dear @AppleSupport, we noticed a HUGE security issue at MacOS High Sierra. Anyone can login as ‘root’ with empty password after clicking on login button several times,” he said.
Others, including developer Mike Myers, have since found a post to Apple’s user forums on Nov. 13 that describe the same bug.
节假日,网络罪犯们在节日期间最为猖獗,总会有些意外的安全事件发生。
Perhaps nobody noticed two weeks ago when the root login vulnerability in macOS High Sierra was shared as a helpful tip on Apple’s own Developer forums. https://t.co/P44gEId25d pic.twitter.com/sOiRt8j2X7— Mike Myers (@fristle) November 29, 2017

Apple says in a statement: “We are working on a software update to address this issue.”
The Root of the Problem
A root account is the most powerful account on a computer because it has access to all files, says Patrick Wardle, who’s the chief security researcher with crowdsourced security firm Synack as well as a former NSA analyst. That’s why many security experts recommend never using root accounts, except in cases where machines must be administered. Many organizations that issue computers to employees will not give them root access to the system, instead reserving such access only for IT support teams.
Gaining access to a root account makes life easier for any attackers. For example, they could easily install a keylogger or other malware on the computer. That’s why malware programs designed for MacOS often try to trick users into divulging passwords to get root access, Wardle says.
“With this privilege, you can pretty much do anything,” he says.
pic.twitter.com/4TBh5NetIS— patrick wardle (@patrickwardle) November 28, 2017
This latest authentication bug in MacOS adds to other worrying authentication-related findings by independent security researchers in High Sierra. Wardle says that brings into question whether Apple’s quality assurance processes have slipped.
“I’m coming to think there really isn’t a QA process,” says Wardle, who has reported many bugs to Apple in the past and has a good relationship with its security team. “I don’t mean that in a negative way. I’m not trying to personally attack Apple.”
It’s surprising that Apple, which is one of the more privacy-focused and security-aware companies, didn’t catch the bug before High Sierra shipped, says Chris Pierson, chief security officer and general counsel for payment services firm Viewpost.
安全舰队亮相网络安全周 腾讯安全提供中国网络安全发展新方案
“It is imperative for all of us in cybersecurity to slow down and be more precise in our mastery of secure products before they hit the market,” Pierson says.
Keys to the Kingdom
On vulnerable MacOS systems, there are several ways to exploit the bug and create a root account. One way is to use “root” as the username for the “other” account in the logon screen. While a user will then be prompted for a password, at which point they can enter anything.
The authentication window then appears a second time, and whatever was entered before – even if the field was left blank – unlocks the root account. The same method can be used by opening system preferences, going to users & groups and clicking the lock icon, which then displays an authentication window. It’s also possible to create the account through the terminal window.
Wardle says in previous versions of MacOS, the root account is disabled. To access it, a user would be asked for the system password before granting access to root. For some reason, that protection has been disabled in High Sierra.
The bug can also be exploited remotely. In one scenario, if the targeted computer allows for remote connections, the attacker can choose in a dialog box to login as root and do the same trick, Wardle says.
String of Authentication Slip-Ups
Apple’s mistake is easy to fix and just takes a couple of lines of code, Wardle says. But until a patch is distributed, users should change the root account password, which will thwart any attempts to take advantage of it.
How to Mitigate the Bug, Pending Apple’s Fix
Developer Chethan Kamath, writing under the username chethan17, posted a temporary workaround for the High Sierra password flaw, pending a patch from Apple.
More broadly, Wardle says he’s been surprised at Apple’s slip-ups. Just prior to the release of High Sierra to the public on Oct. 31, Wardle found a major issue within Apple’s password manager, which is called the Keychain (see Beware: Apple’s Password Manager Has a Zero-Day Flaw).
Keychain is an encrypted container that stores a variety of authentication credentials for disk images, WiFi networks and other data, such as credit card numbers and banking PINs.
Wardle wrote proof-of-concept code that pulls those credentials in plain text without entering the system password, which is usually required to access Keychain data. A victim would have to be logged in for the attack to work. Apple has patched the bug.
The company also had to fix an issue found by Mathews Mariano of Leet Tech, which involved encrypted containers that used Apple’s latest file system, APFS. The password for an encrypted container was revealed if someone clicked to get a hint for it.
信息安全体系的所有参与者,包括信息技术业内人士,与信息安全攸关的利益方,以及信息系统的最终用户群乃至用户个体,都应担负起提高安全意识,维护信息安全的责任。

猜您喜欢

专访人力资源专家张月:最大的财富不是money,而是人才
EHS文化的建立从针对全员的意识教育培训开始
LMS学习管理系统管理员快速操作指南
重庆:山城初雪
WARWICKROWERS FIBERSEAL
互联网金融移动APP与虚假WIFI的信息安全教训