UPDATE Unauthenticated Root Access in macOS High Sierra
- 29/11/2017 --- v1.0: Initial publication
- 30/11/2017 --- v1.1: Update resolving the issue is available
On November 28th, a security researcher Lemi Orhan Ergin has notified Apple about a serious security issue in macOS Hight Sierra . It appears that anyone can login as root by providing an empty password. The bypass works by putting the word root in the user name field of a login window, moving the cursor into the password field, and then hitting Enter with the password field empty. With that -- after a few tries in some cases -- the latest version of Apple's operating system logs the user in with root privileges .
Interestingly enough, the functionality was already identified and presented as a solution to logging-in problems in a post of user chethan177 on Apple developer forums already on November 13th . At the time, it appears that nobody felt the need to raise an alert about it.
On November 29th, Apple has released a Security Update 2017-001, which corrects the issue.
When full-disk encryption is turned off, an untrusted user can turn on a Mac that is fully powered down and log in as root. Even on Macs that have filevault turned on, the bypass can also be used to make unauthorized changes to the System Preferences (including disabling filevault), or the bypass can be used to log in as root after logging out of an existing account but not turning off the machine .
Of more concern is that malicious hackers can exploit this vulnerability to give their malware unfettered control over the computer and OS. In cases such as these, attackers use one exploit to run their malicious code and a second exploit to escalate the privileges of that code so it can perform actions that the OS normally would not allow .
It appears that the vulnerability is located in
com.apple.loginwindow, a macOS component that is one of at least two ways users can log into accounts .
Apparently this bug is present in the current version of macOS High Sierra, 10.13.1, and the macOS 10.13.2 beta that is in testing at the moment .
Apple has released an update (Security Update 2017-001) to correct the issue, and it is available through the App Store Update tab. The update may be installed manually, and later will also be pushed automatically to the impacted systems. A short description, along with a method to check if the update was applied on a given system is available in .