It is disabled by default[1] (meaning you can't login as it), this vulnerability appears to enable the root user without setting a password. If the root user has already been enabled it doesn't work.
Anyone who does this should probably set a password for now and then disable the root user account once it has been patched. [1] https://support.apple.com/en-us/HT204012
It's worse than that. You're enabling the root user EVERY time you use this vulnerability. Even if you disable the root user in Directory Utility, logging in with root and no password will re-enable the root user.
I haven't upgraded to High Sierra yet and this doesn't happen on my install atm. Does adding a password to the root user stop this vulnerability? If it does then that seems way better than disabling the account until this is fixed.
And you might want to disable the root account again with `dsenableroot -d` as well, so that the root account stays disabled after the vulnerability is patched.
Unlike doing this through the GUI, this seems to retain the root password and prevent this vuln from re-occuring.
Can this be used remotely? Edit: Yes, after turning on Remote Management on my second mac I was able to log into it using Remote Desktop, account root and no pw.
It only works after getting physical access once.
Yes, I just had a coworker test it after I enabled remote management and they used screensharing.app. I didn't even get notified a user remoted in.. never used screen share, that seems awful. Had to look over and ask if he was in.
edit: I should say, I did test this locally first so I don't know if a fresh machine that hasn't done it will do the same thing and let a remote account enable root.. Would like to hear if anyone tested it remotely WITHOUT doing it locally first.
It only works after getting physical access once to enable the root user by gibing any password UI the root user with no password (which will enable the local root account, which is also why it fails the first time around)
I tested this by logging in as root at a preference pane then attempting to connect via ssh and screen sharing (both enabled) using root with no password. It did not work.
Not sure if you'd get different results after logging in as root at the login screen...
If root was ever enabled without setting a password, the machine is then in a state that it can be remotely exploitable.
While it's unlikely, there are probably plenty of users who have done this for some reason or another. Don't underestimate a user's ability to blindly do things like this by following arcane instructions in attempts to fix an unrelated problem.
"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://forums.developer.apple.com/thread/79235"
Comments (1,056) 195 threads
Earlier commentshttps://twitter.com/a_hailes/status/935601901839806464
Anyone who does this should probably set a password for now and then disable the root user account once it has been patched.
[1] https://support.apple.com/en-us/HT204012
sudo passwd -u root
It's sad we have to do this, though.
Continue this thread — 2 replies
Unlike doing this through the GUI, this seems to retain the root password and prevent this vuln from re-occuring.
Continue this thread — 6 replies
/System/Library/CoreServices/Applications/Directory Utility.app
Edit > Change Root Password
Kind of ironic that you can easily get elevated privileges with it.
edit: I should say, I did test this locally first so I don't know if a fresh machine that hasn't done it will do the same thing and let a remote account enable root.. Would like to hear if anyone tested it remotely WITHOUT doing it locally first.
Not sure if you'd get different results after logging in as root at the login screen...
While it's unlikely, there are probably plenty of users who have done this for some reason or another.
Don't underestimate a user's ability to blindly do things like this by following arcane instructions in attempts to fix an unrelated problem.
https://www.youtube.com/watch?v=FpOH0lxEGBE
They seem to be remotely accessing the machine to both set and then use the root account.
https://twitter.com/fristle/status/935670476214378496
All comments shown.
Couldn't load more comments. Check your connection and try again.