Stanislav Gobunov

Programmer and DevOps Engineer

Links 17-11-30

Posted at — Nov 30, 2017

Security


WTF Apple?

Source

A serious bug in macOS High Sierra lets anyone log into an admin account using the username “root” with no password. This works when attempting to access an administrator’s account on an unlocked Mac, and it also provides access at the login screen of a locked Mac.

To replicate, follow these steps from any kind of Mac account, admin or guest:

  1. Open System Preferences.

  2. Choose Users & Groups.

  3. Click the lock to make changes.

  4. Type “root” in the username field.

  5. Move the mouse to the Password field and click there, but leave it blank.

  6. Click unlock, and it should allow you full access to add a new administrator account.

At the login screen, you can also use the root trick to gain access to a Mac after the feature has been enabled in System Preferences. At the login screen, click “Other,” and then enter “root” again with no password. This allows for admin-level access directly from the locked login screen, with the account able to see everything on the computer.

It appears that this bug is present in the current version of macOS High Sierra 10.13.1, and the macOS High Sierra 10.13.2 beta that is in testing at the moment. It’s not clear how such a significant bug got past Apple, but it’s likely this is something that the company will immediately address.

Until the issue is fixed, you can enable a root account with a password to prevent the bug from working.

bug

Upd: fixed


The Motherboard Guide to Avoiding State Surveillance

Text Editors

Best Text Editor? Atom vs Sublime vs Visual Studio Code vs Vim.

Misc

Use Midnight Commander like a pro.