How to fix macOS High Sierra root bug – stop hackers accessing your Mac
Your Mac can be hacked into thanks to MacOS High Sierra root access flaw, here’s how to stop anyone from hacking into your Mac
A flaw in macOS High Sierra was discovered on Tuesday 28 November 2017 that allows root access to a Mac without the need for a password.
This means that all anyone needs to do to adjust settings on your Mac is to enter root as the user name – no password is required.
For example, the user could access your Security & Privacy settings in System Preferences, enter root as User Name, without any need for a password, and gain all the administrator rights. Allowing them to change the user password, change your settings for downloading applications, access keychain data, and more.
Apparently the first time they attempt to log in, it won’t work. But the second time they try they will be granted access.
We said that Apple was likely to issue a fix for the flaw within a few days, and sure enough the company rolled out a patch within 24 hours of the issue being highlighted.
“When our security engineers became aware of the issue Tuesday afternoon, we immediately began working on an update that closes this security hole,” Apple said. “This morning [Wed 29th Nov], as of 8:00 am, the update is available for download and starting later today it will be automatically installed on all systems running the latest version (10.13.1) of macOS High Sierra.”
Apple also issued an apology for the problem:
“Security is a top priority for every Apple product and regrettably we stumbled with this release of macOS… We greatly regret this error and we apologise to all Mac users, both for releasing with this vulnerability and for the concern it has caused. Our customers deserve better. We are auditing our development process to help prevent this from happening again.”
How to fix the root security issue yourself
Apple’s fix should sort the problem, but if for some reason you are unable or unwilling to install this, the following method should fix the issue manually:
- Open the Finder.
- Click on Go > Go to Folder.
- Type: /System/Library/CoreServices/Applications/ in the text box.
- Click Go.
- Open Spotlight by pressing Command+Space.
- Search for the Directory Utility app and open it.
- Click on the lock icon so you can make changes.
- Enter your name and password in the pop-up window.
- Click Modify Configuration.
- Click on Edit.
- Select Change Root Password.
- Enter your new password and verify it.
- Click OK.
- Now click the lock again to lock it so no more changes can be made.
- Quick Directory Utility.
Now if anyone tries to log on as root they will need to enter a password.