macOS High Sierra bug allows Admin access without password

cwa107


Retired Staff
Joined
Dec 20, 2006
Messages
27,042
Reaction score
812
Points
113
Location
Lake Mary, Florida
Your Mac's Specs
14" MacBook Pro M1 Pro, 16GB RAM, 1TB SSD
This bug seems really bad...

Once you assign a password to the root account, it is seemingly a workaround for this bug. But, if you follow the recommendation of disabling the root account afterward, you might be in for a surprise.

Go ahead and try changing system settings, after the password is set and the root account disabled:

  • Type in root and no password for admin credentials in the authentication window and press enter
  • do the same again and voila, you have root access
At the first time, the system will enable the root account and sets the password to blank. At the second try, it'll just log you in, just like it worked initially. I've seen a lot of serious bugs before, but this one is the worst ever!

Leaving the root account enabled, not recommended by Apple, seemingly prevents this bug to resurface. The side effect is that, if you look in the logs there is a failed authorization and then it succeeds in spite of that. Awesome Apple, one of the system process relies on the root account without password. Are you !@#$ serious!!

Agreed. I am still in stunned disbelief.
 
Joined
Sep 30, 2007
Messages
9,962
Reaction score
1,235
Points
113
Location
The Republic of Neptune
Your Mac's Specs
2019 iMac 27"; 2020 M1 MacBook Air; macOS up-to-date... always.
This is the second time we had to move a post to a thread that already exists. Please guys and gals.... let's pay attention to what has already been posted. Also, this is the correct forum as it refers to macOS security.

Thanks.

Ah nuts. I checked but completely overlooked this sub-forum. I thought it was odd that no one else had seen and reported it yet. #facepalm
 
Joined
Sep 30, 2007
Messages
9,962
Reaction score
1,235
Points
113
Location
The Republic of Neptune
Your Mac's Specs
2019 iMac 27"; 2020 M1 MacBook Air; macOS up-to-date... always.
The funny thing is that you have to "enable" root before you can even change the password, and then in-turn, disable it.

From what I've read, you are re-enabling the flaw by disabling root, even after changing the password.
 

cwa107


Retired Staff
Joined
Dec 20, 2006
Messages
27,042
Reaction score
812
Points
113
Location
Lake Mary, Florida
Your Mac's Specs
14" MacBook Pro M1 Pro, 16GB RAM, 1TB SSD
From what I've read, you are re-enabling the flaw by disabling root, even after changing the password.

Seriously... wow. How has Apple not patched this thing yet??!?
 
Joined
Sep 30, 2007
Messages
9,962
Reaction score
1,235
Points
113
Location
The Republic of Neptune
Your Mac's Specs
2019 iMac 27"; 2020 M1 MacBook Air; macOS up-to-date... always.
Seriously... wow. How has Apple not patched this thing yet??!?

It gets better. If you read through the comments for the Ars Technica article I linked to, someone casually posted a comment in Apple's developer forums 2 weeks ago using this bug as a solution to login issues. So it wasn't suddenly discovered yesterday.... it's been known for who knows how long.
https://forums.developer.apple.com/thread/79235#277225

Apple has issued a security update today to patch this.
https://arstechnica.com/gadgets/2017/11/new-security-update-fixes-macos-root-bug/
 
OP
Raz0rEdge

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,771
Reaction score
2,111
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Critical fix has been released by Apple, visit the App Store and update immediately.
 

cwa107


Retired Staff
Joined
Dec 20, 2006
Messages
27,042
Reaction score
812
Points
113
Location
Lake Mary, Florida
Your Mac's Specs
14" MacBook Pro M1 Pro, 16GB RAM, 1TB SSD
It gets better. If you read through the comments for the Ars Technica article I linked to, someone casually posted a comment in Apple's developer forums 2 weeks ago using this bug as a solution to login issues. So it wasn't suddenly discovered yesterday.... it's been known for who knows how long.
https://forums.developer.apple.com/thread/79235#277225

Unbelievable! I mean, this is just inexcusable -- can you imagine the fallout if Microsoft left such a severe security hole unpatched for nearly 24 hours (since it was very publicly announced)?


Thanks for that.... I've been scanning my updates periodically, just grabbed it now. But really, if heads aren't rolling at Apple, they should be. This is one of the largest technology companies in the world, I can't understand how this even happens.
 
Joined
Jan 1, 2014
Messages
629
Reaction score
52
Points
28
Your Mac's Specs
MacBookPro 13 v11.1, i5 2.4 GHz, 256 GBs SSD, 8 GBs DDRs
I've just installed the patch and tested it...

The patch does disable the root account, mine was enabled with password, and blank PWD does not work. Well, at least not after five tries. Yes, my honey-moon with macOS is over by now...:Not-Amused:;)
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
I've just installed the patch and tested it...

The patch does disable the root account, mine was enabled with password, and blank PWD does not work. Well, at least not after five tries. Yes, my honey-moon with macOS is over by now…:Not-Amused:;)



Mmmm…??? And to think I've been running my Macs for well over ten years without a username password.

It's actually quite nice not being nagged all the time but I do have to hit a keyboard key when asked. :Mischievous:

But not quite the same only using the Macs in a private household with only my wife as company compared to other situations. :[




- Patrick
======
 
Joined
Jan 1, 2014
Messages
629
Reaction score
52
Points
28
Your Mac's Specs
MacBookPro 13 v11.1, i5 2.4 GHz, 256 GBs SSD, 8 GBs DDRs
Mmmm…??? And to think I've been running my Macs for well over ten years without a username password.

It's actually quite nice not being nagged all the time but I do have to hit a keyboard key when asked. :Mischievous:

But not quite the same only using the Macs in a private household with only my wife as company compared to other situations. :[

- Patrick
======
I've only got a MacBook for supporting my clients, who have Mac and/or MacBook. Since my wife uses it for business purposes only by now, it is kept up to date and I can also learn things.Also dumped my Windows smartphone since despite the fact that I offered no support for iPhones, my clients kept asking me for helping them with the iPhones and pretty much had no choice. I missed my Windows 8.1 smartphone....

Here's a detailed look at the background for this bug, very detailed and easy to read:

https://objective-see.com/blog/blog_0x24.html

Coming from the Windows world, I didn't anticipate that macOS will start to look a lot like Windows. It's a harsh sentence and probably over the board, but I think that Apple should listen...
 

cwa107


Retired Staff
Joined
Dec 20, 2006
Messages
27,042
Reaction score
812
Points
113
Location
Lake Mary, Florida
Your Mac's Specs
14" MacBook Pro M1 Pro, 16GB RAM, 1TB SSD
It's one thing to have no password on your account, it's another to allow a low-level system account that has completely unfettered access to go without a password. I believe OS X will still prompt you for administrator credentials even with no password.... but root is another story. As I said before, one doesn't need physical access to exploit a security flaw like that. All I have to do is get you to double-click on something as simple as a script that installs a service that runs as root. Then, I have a backdoor into your machine and I can make it do my bidding. Or, I can simply peruse your machine remotely to find files that I deem of value for any number of nefarious purposes.

Disabling root and setting a password is security for *nix 101. I can't even remember the last Linux distro I saw with a root account that allowed interactive sessions, it's probably been close to 20 years.
 

dtravis7


Retired Staff
Joined
Jan 4, 2005
Messages
30,133
Reaction score
703
Points
113
Location
Modesto, Ca.
Your Mac's Specs
MacMini M-1 MacOS Monterey, iMac 2010 27"Quad I7 , MBPLate2011, iPad Pro10.5", iPhoneSE
I still can not understand why my iMac would not log me into root like that but who knows. It's obvious there was a fault and for many it did work. A patch did show up for it in software update on the imac and it's installed.

Also thank you Cr00zng for posting that URL. That showed exactly what it did and how it got in. Excellent info.
 

Rod


Joined
Jun 12, 2011
Messages
9,697
Reaction score
1,885
Points
113
Location
Melbourne, Australia and Ubud, Bali, Indonesia
Your Mac's Specs
2021 M1 MacBook Pro 14" macOS 14.4.1, Mid 2010MacBook 13" iPhone 13 Pro max, iPad 6, Apple Watch SE.

Rod


Joined
Jun 12, 2011
Messages
9,697
Reaction score
1,885
Points
113
Location
Melbourne, Australia and Ubud, Bali, Indonesia
Your Mac's Specs
2021 M1 MacBook Pro 14" macOS 14.4.1, Mid 2010MacBook 13" iPhone 13 Pro max, iPad 6, Apple Watch SE.
P.S. I didn't even know Apple had released a patch, shows how far behind I am.
 

dtravis7


Retired Staff
Joined
Jan 4, 2005
Messages
30,133
Reaction score
703
Points
113
Location
Modesto, Ca.
Your Mac's Specs
MacMini M-1 MacOS Monterey, iMac 2010 27"Quad I7 , MBPLate2011, iPad Pro10.5", iPhoneSE
Rod thanks for that URL just in case I have that issue.
 
Joined
Jul 29, 2017
Messages
46
Reaction score
1
Points
8
Location
Edmonton Alberta
Your Mac's Specs
iMac(2.7 i5,Late 2013)OS High Sierra.10.13.6 Ipad3/5s ios12 nd 5s ios11
New security update and fix for root issue in 10.13.1 High Sierra available as of yesterday 2017/11/29
 

cwa107


Retired Staff
Joined
Dec 20, 2006
Messages
27,042
Reaction score
812
Points
113
Location
Lake Mary, Florida
Your Mac's Specs
14" MacBook Pro M1 Pro, 16GB RAM, 1TB SSD
New security update and fix for root issue in 10.13.1 High Sierra available as of yesterday 2017/11/29

I think I just heard an echo :D
 
Joined
Sep 30, 2007
Messages
9,962
Reaction score
1,235
Points
113
Location
The Republic of Neptune
Your Mac's Specs
2019 iMac 27"; 2020 M1 MacBook Air; macOS up-to-date... always.
I think I just heard an echo :D

It gets better. I installed the update immediately when I saw it yesterday. This morning, I saw the update was posted AGAIN! I now have "Security Update 2007-001" installed twice. Because this bug is so severe, that patching it twice is the only way to be sure?

screenshot_100.jpg
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
Because this bug is so severe, that patching it twice is the only way to be sure?


Or maybe you get one for each of the bugs???

One for the "root login" vulnerability and one to fix the possible "sharing" goof up??? :[




- Patrick
======
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top