Slashdot Mirror


MacOS High Sierra Bug Allows Login As Root With No Password (theregister.co.uk)

An anonymous reader quotes a report from The Register: A trivial-to-exploit flaw in macOS High Sierra, aka macOS 10.13, allows users to gain admin rights, or log in as root, without a password. The security bug is triggered via the authentication dialog box in Apple's operating system, which prompts you for an administrator's username and password when you need to do stuff like configure privacy and network settings. If you type in "root" as the username, leave the password box blank, hit "enter" and then click on unlock a few times, the prompt disappears and, congrats, you now have admin rights. You can do this from the user login screen. The vulnerability effectively allows someone with physical access to the machine to log in, cause extra mischief, install malware, and so on. You should not leave your vulnerable Mac unattended until you can fix the problem. And while obviously this situation is not the end of the world -- it's certainly far from a remote hole or a disk decryption technique -- it's just really, really sad to see megabucks Apple drop the ball like this. Developer Lemi Orhan Ergan was the first to alert the world to the flaw. The Register notes: "If you have a root account enabled and a password for it set, the black password trick will not work. So, keep the account enabled and set a root password right now..."

139 of 237 comments (clear)

  1. Re:Am i missing something here? by Anonymous Coward · · Score: 1

    it creates a root account with no password

  2. Re:Am i missing something here? by Anonymous Coward · · Score: 4, Informative

    By default, there's no root account. Attempting to log in as root with no password multiple times creates a root account with no password.

  3. Re:Am i missing something here? by Lisandro · · Score: 1

    How can you possibly have a root account without a password?

    You certainly can, at least on most *nix flavors. Not the greatest idea though.

  4. Re:Am i missing something here? by Lisandro · · Score: 1

    That makes sense, thanks. Both the story and the linked article weren't really clear.

  5. Calling John C. Randolph (jcr)! We need your input by Anonymous Coward · · Score: 1

    John C. Randolph (aka jcr), can you please comment on this issue?

    Maybe I'm mistaken, but I've heard that you worked at Apple in the past. I've also seen some of your comments here, and I know you're a man of integrity.

    Can you please tell us what's actually going on here? Can you help us distill the facts from the stew of information that's surrounding this issue?

    Is it as big of an issue as it's being portrayed as?

    If it did happen, what factors do you think contributed to a bug like this being introduced and making it past whatever QA processes Apple has?

    What could be done to prevent bugs like this?

    We need you to help us understand this matter. Any background and information you could give us would be greatly appreciated.

    Thank you, sir.

  6. Re:Am i missing something here? by RhettLivingston · · Score: 2

    You're missing that it works if there is a disabled root account without a password too. Many people just give their own account admin access or create an admin account that isn't named root and disable the "root" account. You'd think that would be safe. It isn't.

  7. Re:Am i missing something here? by Anonymous Coward · · Score: 1

    OS X by default disables the root user and doesn't have a password set. This "exploit" takes advantage of that fact.

  8. All it requires... by x0ra · · Score: 3, Funny

    is "courage" to go beyond the heteronormative system of power and privileges. Why would you require privileges in a progressist society where everybody is equal.

    USER LIVES MATTERS !

    1. Re:All it requires... by Lisandro · · Score: 1

      So you're saying this is revolutionary?

    2. Re:All it requires... by retchdog · · Score: 1

      fwiw, the OS X spell-check was at some point the only major OS-native spell-check which recognized "misandry" as a word. (yeah, i know it's a joke, i just thought it was interesting.)

      --
      "They were pure niggers." – Noam Chomsky
  9. My Macintosh runs eunichs! by Bing+Tsher+E · · Score: 1

    And no, not my SE/30 that runs NetBSD.

  10. "Enter" key? by Anonymous Coward · · Score: 1

    There is no "enter" key on a macOS (unless you include the fine print on later models - disgusting!). One of the identifying marks of a Dark Side Convert is their use of the phrase "hit enter". Cheers

    1. Re:"Enter" key? by DontBeAMoran · · Score: 1

      I have both a return key and an enter key on my Apple aluminium wired keyboard.

      --
      #DeleteFacebook
    2. Re:"Enter" key? by LynnwoodRooster · · Score: 2

      Apple says you're wrong. Their Magic keyboard with numeric keypad has a return and enter key.

      --
      Browsing at +1 - no ACs, I ignore their posts. So refreshing!
    3. Re:"Enter" key? by angel'o'sphere · · Score: 1

      You ar an idiot ...
      My external keyboard has separated return and enter keys.
      My 13" MacBook Air has a RETURN key and pressing it together with "FN" it produces ENTER.

      Facepalm ...

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  11. Work-around by MAXOMENOS · · Score: 1

    Set the root password to something long and hard to guess (32 chars of mixed-case alphanumeric should do). Do this by running as an administrator:

    sudo passwd -u root

    This should do until Apple releases a real fix.

    Source

    1. Re:Work-around by aaarrrgggh · · Score: 1

      ...but make sure you write down that 32 character password since you won't be able to sudo without it!

      Just curious what this will break...

    2. Re:Work-around by BronsCon · · Score: 1

      sudo uses your user password...

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    3. Re:Work-around by XparXnoiaX · · Score: 1

      Another workaround is to not let anyone touch your computer (unless you trust them) because you need to have access before doing anything. This is a ridiculous bug, but it's not easy to exploit remotely.

      --
      Irresponsible disclosure is responsible
    4. Re:Work-around by MAXOMENOS · · Score: 1

      Meaning, you can always change the root password if you forget it later. (Or, if you REALLY want, you can keep it in a password manager like KeePass or PasswdSafe.)

    5. Re:Work-around by MAXOMENOS · · Score: 1

      True. That said, my only mac is a laptop that I occasionally have in public meetings. It's worth hardening.

    6. Re:Work-around by BronsCon · · Score: 1

      Well, yes, but I was actually pointing out that you don't need the root password at all. That's the whole point of sudo.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
  12. Re:Apple deserves a geek at the top by Megol · · Score: 2

    Yes this is obviously the fault of Tim Cook. Forcing the poor programmers to insert security holes is indeed his MO as should be obvious from this article:
    http://www.theregister.co.uk/2...

  13. Why/how though? by Xuranova · · Score: 5, Interesting

    I can understand if it let you in after hitting enter once, because then it's just ignoring something. If it denies entry the first few times and then lets you in, what do the *nix gurus think is happening after the first few denials to have it change its 'mind?

    --
    "There is no real right or wrong, just what the majority accepts at the time."
    1. Re:Why/how though? by Anonymous Coward · · Score: 1

      If I had to guess, and it could be any number of things, but I would assume there is a bug in the authentication code which unlocks the target account while checking to see if the password matches. So the first time through the system checks to see if the password is right and the account is unlocked, sees the account is locked and denies access. But in that process unlocks the account by mistake. So the next time we check, the system sees the account as unlocked and unprotected by a password and lets the user login.

      Alternatively there could be a memory issue in the authentication code. Maybe a buffer overflow which takes three or four runs of a function to trigger. The "account unlocked" variable gets overwritten by the memory corruption and you're in.

    2. Re:Why/how though? by AmiMoJo · · Score: 1

      My guess would be a flaw in the logic that handles several failures in a row. Maybe they tried to put some rate limiting in or something like that, but accidentally proceeded with logging in at that account instead.

      That would be somewhat similar to their GOTO FAIL bug from a while back. I really hope we get the full story because if it's the same thing again it strongly points to interference.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    3. Re:Why/how though? by jittles · · Score: 2

      I can understand if it let you in after hitting enter once, because then it's just ignoring something. If it denies entry the first few times and then lets you in, what do the *nix gurus think is happening after the first few denials to have it change its 'mind?

      From my understanding, the first time it denies you access because there is no root account on the box. Once it fails to log you in, the OS is actually creating the root user. The second time it lets you log in with that user, which has no password. I've seen people say that if you do it on the login screen it immediately creates the account and lets you in without the failed password attempt.

    4. Re:Why/how though? by bjb · · Score: 1
      allowAccess = false;

      if (passwdMatched() == false)
      . . niftyUiShakeAndDeny();
      else
      . . niftyUiApprovedAnimation();
      . . allowAccess = true;

      if (allowAccess == true)
      . . setSessionCredentials();

      ...because it is such a waste of time to use braces and parenthesis to clearly state what your code is trying to do ;-)

      (of course, could also be due to too much time in a language like Python where indentation specifies blocks of code)

      --
      Never hit your grandmother with a shovel, for it leaves a bad impression on her mind...
  14. Re:Am i missing something here? by Software · · Score: 1

    Why the quotes around exploit?

  15. User chethan177 was actually first to report by Anonymous Coward · · Score: 5, Informative

    https://forums.developer.apple.com/thread/79235

    'course, this post may not have been reported directly to security folks. it was something that they should have found while monitoring the beta forums, though.

    1. Re:User chethan177 was actually first to report by Ecuador · · Score: 2

      This is very funny, he actually found the biggest user escalation exploit in recent memory and he just nonchalantly posts it as an answer to a thread about someone who had his admin accounts turned to standard, with his only comment being "Solution 2 worked for me. No idea how or why. Hope this helps.".

      Unless he did not stumble upon it, but read it elsewhere and that is why he is so "business as usual"...

      --
      Violence is the last refuge of the incompetent. Polar Scope Align for iOS
    2. Re:User chethan177 was actually first to report by Swave+An+deBwoner · · Score: 1

      Hey, It Just Works.

    3. Re:User chethan177 was actually first to report by mjwx · · Score: 1

      https://forums.developer.apple.com/thread/79235

      'course, this post may not have been reported directly to security folks. it was something that they should have found while monitoring the beta forums, though.

      This is something that should have been found before even going to beta.

      I mean we don't even expect this kind of dimwittery from Microsoft any more.

      Mac... its more secure than PC (unless you try to test it).

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    4. Re:User chethan177 was actually first to report by nine-times · · Score: 1

      Unless he did not stumble upon it, but read it elsewhere and that is why he is so "business as usual"...

      This is his explanation:

      As to how I stumbled on this, the answer is simple. Pure frustration. I'd read on one of the forums where in a user suggested we try using "root" for username and leaving the password field empty. I did, it failed. Out of sheer frustration, I tried again, and voila the **** thing unlocked my admin account much to my relief.

      It kind of raises the question, what forum was he looking at, and did *that* user know about the bug. Because it is bizarre that something like this would be found by a developer who discovered it out of frustration, trying a username and password that he already tried and knew didn't work, and then telling people about it without realizing that it was a problem.

      I mean, he's a developer? And he doesn't know that being able to access root without a password might be a problem?

  16. Re:Am i missing something here? by elistan · · Score: 1

    From what I can gather, the bug is that a non-admin account can create an enabled root account without a password if there exists a disabled root account, regardless of the existing root account's password. And by default, a High Sierra install's root account is disabled, I think.

  17. Re:Am i missing something here? by farble1670 · · Score: 2

    So, logging as root without password works on High Sierra if there's a root account without password?

    Just works with whatever is the default user configuration. I never modified anything other than creating an OSX user for myself.

    What's even better is that if you have remote desktop turned on, anyone can connect and login as root.

  18. Re:Apple deserves a geek at the top by Anonymous Coward · · Score: 3, Insightful

    Yes this is obviously the fault of Tim Cook. Forcing the poor programmers to insert security holes is indeed his MO as should be obvious from this article: http://www.theregister.co.uk/2...

    Or maybe under Tim Cooks leadership the overall quality of Apples software and hardware has noticeably declined.

  19. Re:Am i missing something here? by mrsquid0 · · Score: 2

    One can have anything if one has Courage.

    --
    Just because you are paranoid does not mean that no-one is out to get you.
  20. Re:Can Anyone Here Reproduce This? by aaarrrgggh · · Score: 1

    You first have to be logged in, presumably as an admin user, then try to do anything like change login settings where the user/password authentication pops up. Log in root / no password. It will let you complete the current task... and subsequently log in.

    Someone needs to be fired at Apple.

  21. Re:Calling John C. Randolph (jcr)! We need your in by Falos · · Score: 1

    The correct response, as always, is for people to chime in with Mine Works Fine/I've Never Had A Problem posts.

    Seems like a pointless thing to show up and say, but tradition is as tradition does.

    This isn't an apple-exclusive phenomenon, but they are the masters of it.

  22. Re:Apple deserves a geek at the top by PoopJuggler · · Score: 1

    Srsly, dude? Mac OSX is pretty much the slickest thing out there. Which OS, specifically, do you want Tim Cook to give you back? System 7? System 8? Because those were so much better..?

  23. Re:Be courageous. Eat the worm. by PoopJuggler · · Score: 1

    And you never ship bugs? Ever? Shit happens, get over it.

  24. Re:Am i missing something here? by Anonymous Coward · · Score: 3, Interesting

    Parent is also incorrect, there is always a root account. I would hazard a guess the issue is with sudo as that is the underlying mechanism for privilege escalation.

  25. Tests made sure it works. Garbage in, garbage out by raymorris · · Score: 1

    My educated guess from 20 years in computer security:

    The graphical UI it gives up after a few tries, which is reasonable. Unit tests tested that you can login that way and maybe tested that it gives up.

    Separately, on the underlying Unix side they may have tested that part well - if you enter a correct password you get in, an incorrect password doesn't get you in.

    In Integration testing UI designers made sure it WORKS - you can log in that way. They didn't test crazy shit like entering a million-character password, entering no password over and over, etc. Who would do that anyway? Besides, "garbage in, garbage out", right?

    No! "Garbage in, garbage out" is not okay for anything related to security, or really anything connected to the web. Security stuff has to expect garbage input of all kinds - megabytes of input when only a few bytes are expected, passwords with line feeds, empty input, etc. It has to be "garbage in, denied". Which normally means checking for whitelisted sane input first, and denying if the input is anything other than what you expected. Applications exposed on the internet are similar - you have to expect you'll be attacked a thousand times a day.

    Therefore it's not enough to test that it works. You have to think about all the ways it could fail, ways it could not work, and test those.

  26. Re:Be courageous. Eat the worm. by fyngyrz · · Score: 1

    And you never ship bugs? Ever? Shit happens, get over it.

    First of all, when I ship bugs, I fix them if it's within my abilities to do so. Which is usually is. And I will tell you flat out that if I had billions of dollars in the bank, I'd be able to fix every one that was found, because there are people I could hire that are way smarter than me, and I could hire a lot of them without feeling any pain at all.

    My problem with Apple isn't that they ship bugs anyway... it's that they leave serious bugs in place even when they know about them.

    So I'll get over it when they stop behaving like incompetents, and no sooner.

    --
    I've fallen off your lawn, and I can't get up.
  27. Re:Am i missing something here? by ShanghaiBill · · Score: 2, Interesting

    Is no root password a requirement for this "bug"? My Macbook has a root password. I followed the directions in the summary, and it did NOT give me root. I tried several variations. Nothing worked. So as far as I can see there is no bug.

  28. Re: Lenny is that you? by Zero__Kelvin · · Score: 2

    This is literally nothing like that issue. To "exploit" that issue you already have to have root access. It is the typical "OMFG, if you are root you can get root privs!" cry of the moron without a clue.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  29. Thanks for stealing my submission by ryanmc1 · · Score: 1

    I submitted this a couple hours before it was posted on the front page. Why does it say an anonymous reader posted it? https://slashdot.org/submissio...

  30. Re:Am i missing something here? by JDShewey · · Score: 1
  31. I can't repro this. Can you? by jcr · · Score: 1

    Tried it on three different machines, both from admin and non-admin accounts. All running 10.13.2 Beta (17C83a).

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  32. Re:this is nothing new.. by AHuxley · · Score: 1

    Its like PRISM https://en.wikipedia.org/wiki/... found new ways in.

    --
    Domestic spying is now "Benign Information Gathering"
  33. If the black password does not work ... by 140Mandak262Jamuna · · Score: 2
    ... will a rouge password work?

    Seriously, any one who knows a bit about unix will enable the root account and set a fairly strong password.

    It is only the "Its Apple! Its immune to hacks!! Its got the ultimate security!!!" fanbois will be affected.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    1. Re:If the black password does not work ... by BronsCon · · Score: 1

      It is only the "Its Apple! Its immune to hacks!! Its got the ultimate security!!!" fanbois will be affected.

      Careful, I recently got into a week long flamewar with phayes by mentioning that such people exist. You don't want to trigger that raving lunitic, trust me.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    2. Re:If the black password does not work ... by dinfinity · · Score: 1

      Seriously, any one who knows a bit about unix will enable the root account and set a fairly strong password.

      So, almost none of the Mac users, then?

      I am positive that 95% of the Mac users I know don't have a clue what root is. They started using OSX because it was not Windows(tm) and simple.

    3. Re:If the black password does not work ... by Gr8Apes · · Score: 1

      I just had a fun set with him. He's not bad at trolling.

      --
      The cesspool just got a check and balance.
    4. Re:If the black password does not work ... by BronsCon · · Score: 1

      Sad thing is, I'm not sure he was trolling in my case.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
  34. Re:Be courageous. Eat the worm. by JDShewey · · Score: 1

    I really don't get why a company with that much cash in the bank can't manage to field a decent OS test protocol system.

    Because OSX doesn't run on an iPhone. They didn't get that much cash in the bank by dumping a bunch of effort into an OS for a platform that really doesn't make them very much money. Despite the MacBook and OSX being a great device, it's now the read-headed stepchild at Apple. And they keep trying to make it more like the iPhone by cramming iTunes and the App store down my throat...

  35. Re:Windows 10 ... by JDShewey · · Score: 1

    #flamebait #noobs

  36. ...except it also works remotely for FileVault by belphegore · · Score: 1

    so it's not exactly "far from a remote hole or a disk decryption technique" as the post suggests. If Screen Sharing is turned on, it allows remote login; if you have access physically or via Screen Sharing, you can use it to turn off FileVault. So it's potentially both a remote hole AND a disk decryption technique. "sudo passwd -u root" now if you hadn't already reset the root passsword!

  37. Re:Calling John C. Randolph (jcr)! We need your in by jcr · · Score: 2

    I've tried to reproduce it on three different machines, all on the latest beta, and it's not happening for me. From what I've seen, it doesn't appear to be remotely exploitable, so it's only an issue if an attacker has physical access to your machine.

    So, I'd say it's serious but not catastrophic.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  38. Re:Windows 10 ... by CaptainDork · · Score: 1

    Right.

    I got my first computer in Feb, 1978 -- TRS-80.

    Discuss.

    --
    It little behooves the best of us to comment on the rest of us.
  39. Re:Am i missing something here? by LynnwoodRooster · · Score: 1

    So... Windows' fault?

    --
    Browsing at +1 - no ACs, I ignore their posts. So refreshing!
  40. Who among the slashdot readers...? by williamyf · · Score: 1

    did not enable root and set a hard to guess password?

    I mean, come on, a lawyer, designer, doctor, writter or grandma with a mac, I can understand that is actually BETTER for them to have no root account by default. No disrespect, maybe you Lawyer/designer/writter/doctor/gramma are ultra smart in your field (and perhaps many more). And I am sure know you know way more about your field than I'll ever be....

    But Slashdot has a big proportion of programmers, computer scientists, and EETREs (Electrical/Electronics/Telecoms/Robotics Engineers) readers.

    Who of that slashdotian demographic in their right mind did _not_ enable root and set a strong password for it on their mac?

    I know I did. As is the first thing I do everytime I bring a new mac home.

    BTW, for those who did not read TFA, the workaround for the problem is to enable root account and set a strong PWD.

    --
    *** Suerte a todos y Feliz dia!
    1. Re:Who among the slashdot readers...? by williamyf · · Score: 2

      Nothing "Just Works".

      My car requires maintenance from time to time. So does my fridge. And my Synology (which seems to have a PSU issue at the moment). QAnd my cellphone. My computer (MacBook Air) needs periodic maintenance too....

      Having said that, I've used pretty much everything there is to use on the desktop during my life:

      MS-DOS 1.1
      Commodore 64.
      CP/M.
      Apple ][
      MS-DOS 3.2 - 6.2
      Windows 3.1 to 98se
      FreeBSD
      Linux (Slackware - RedHat 6)
      NT4-Windows 10
      OSX Since 2009.

      And I have to say that, in the desktop, the thing that bugs me the less and requires less periodic maintenance, is MacOS (formerly OSX) by a huuuuuuge margin.

      At work is a different thing, there I had to sysadmin things like:
      HP-UX, Solaris, VMS, WinNT4, RHEL, even Sinix for crying out loud!

      But now is Linux all the way, either REHL or Suse. All require periodic maintenance (after all, all are enterprise systems) and all behave more or less well.

      --
      *** Suerte a todos y Feliz dia!
  41. Re:Apple deserves a geek at the top by Khyber · · Score: 1

    "Mac OSX is pretty much the slickest thing out there."

    Wet Platinum would disagree with you, there.

    --
    Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
  42. Re:This is new how? by Anonymous Coward · · Score: 1

    Yep.

    You can lock down those features, but pretty much nobody does.

    Of course, you also cannot reset your account password and regain access if you have turned on FileVault.

  43. Re:Can Anyone Here Reproduce This? by anegg · · Score: 5, Informative

    I just reproduced it.

    I have a MacBook Pro that I upgraded to High Sierra (10.13.1) over Thanksgiving. My login screen is set to only offer the pre-defined user accounts. I logged into a non-privileged account that I keep around for testing purposes. Went to the top-level of the file system; did a "Get Info" on a folder I didn't have access to; asked it to show me "Sharing and Permissions"; clicked the lock icon to unlock them; got a username/password dialog box; entered "root" as the username with a blank password once; the dialog box shook and cleared; entered "root" with a blank password again, and the action completed with the lock unlocked. Now when I go to the login screen, I have an "Other" account showing; if I click "Other" I get a username and password dialog box; if I enter "root" as the username with a blank password Bob's your uncle. Logs right in, shows the username in the upper left of the screen as "System Administrator." The account has root access to the machine.

    This is probably exercisable remotely if remote logins are enabled (screen sharing, anyway); I don't think anything I did would not be doable through a remote login (but I have not the means to test at the moment). Seems like there might be some blood on the floor over this one, at least at some organizations. I don't envy sys admins in large academic environments either.

  44. Re: Am i missing something here? by Brockmire · · Score: 1

    Summaries change? Why the fuck do they never proofread, edit and correct anything, then? Black password? Fuck off BeauHD and you do-nothing editors.

  45. Re: Can Anyone Here Reproduce This? by aaarrrgggh · · Score: 1

    Do it from a dialog of a logged-in user-- something like the preference pane, lock the "no changes" padlock, unlock it, and use user as root hit unlock...

  46. Re:Can Anyone Here Reproduce This? by anegg · · Score: 3, Informative

    I followed up with a remote test, and the attack works fine over "Screen Sharing" (VNC) to my iMac 27" from circa 2013 that I also just upgraded to High Sierra (10.13.1) over Thanksgiving. Merry Christmas.

    Needless to say, I now have a root password set on my Mac-in-trashes. I didn't before because the root account isn't normally enabled and I was not being sufficiently paranoid; sigh.

  47. Sounds like an intentional back door by toadlife · · Score: 1

    With it not being in the subsequent beta release and no other previous releases, I'm guessing it's a back door intended for Q/A purposes that was accidentally left in the code.

    --
    I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    1. Re:Sounds like an intentional back door by toadlife · · Score: 1

      Correction?: I see one comment claiming it works in 13.2 and a couple claiming that it only works in 13.1

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    2. Re:Sounds like an intentional back door by Lorens · · Score: 1

      It seems as if it's a logic bug when upgrading the password store. The store is upgraded with the password entered. I think the reasoning behind the code may have stemmed from the fact that to upgrade a password hash to a more secure hash, you wait for the user to enter their password so that you can hash it with the new hash function... but that's not a reason to enable accounts that are disabled, or to update the hash if the provided one doesn't match. See https://objective-see.com/blog...

  48. Dumb Question.. by TechyImmigrant · · Score: 1

    Who doesn't set a root password on a new computer?

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    1. Re:Dumb Question.. by TechyImmigrant · · Score: 1

      The majority of Mac users.

      That puts me in the minority. I chose to get a Mac because it's unixy under the hood and has nice hardware. So I can bring up a bash shell and run GCC and grep and awk all day long. So as with my Linux boxes, as soon as I got it, the first thing I did was set the root password.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    2. Re:Dumb Question.. by ecbpro · · Score: 1

      I did not and I managed to reproduce the bug. Why should I set a password for an account that does not exist on my machine? That doesn't make any sense. In this case the bug results in the creation of the root user! How is it possible that a normal user on a *NIX machine can create a root user with admin rights? This may actually point to a deeper problem...

    3. Re:Dumb Question.. by nawcom · · Score: 2

      People running OSes that come with the root account disabled. Having the root account disabled is being used as a security feature. Ubuntu follows the similar practice of disabling the root account by default, and there is no password set there either. You can of course enable it if you want but most people don't, as disabling the root account and limiting superuser actions to sudo isn't a bad idea at all. The fact that in 10.13 you're able to re-enable the root account by trying to use it with a blank password a few times is pretty upsetting and really has nothing to do with the practice of disabling root at all.

    4. Re:Dumb Question.. by Hallux-F-Sinister · · Score: 1

      When I get a new Mac I always set up the root user account with the full name "God Almighty."

      I remember the first time I tried to move/copy/delete something while logged in as root, and got the message that I didn't have permission, I almost threw the goddamn thing out the window!

      Probably the CSRUTIL setting. They have locked certain things (like the ability to delete programs in /Applications) behind "csrutil" (if you haven't already figured this out/learned this): open terminal, type "csrutil status". It should reply "System Integrity Protection status: enabled."

      To DISABLE it, you have to enter Recovery Mode, (look up how to do this on your specific Mac) and type "csrutil disable" in a terminal. (Open the terminal first, from the menu bar at the top of the screen, obviously, during the Recovery Mode session.) Then reboot normally. Apple would recommend (did recommend to me when I asked about this,) that I do whatever I'm going to do with System Integrity Protection (or SIP) turned off, then reboot Recovery Mode and turn it right back on as soon as possible. Obviously, they'd prefer it if no one ever turned off SIP, but sometimes you just have to. I'm glad they at least made it possible to do that, though it's a bit annoying that it's not clearly labeled.

      This would fail even run as root in a regular log-in session, which is the idea. (In fact, I just tried it; even logged in as root, it returned "csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.") It's Apple removing the "OPEN HOOD" lever from the space in front of the driver's seat of your car, under the steering wheel, and instead putting it under the driver's seat, but making it so you have to unbolt and remove the driver's seat to get at it. They mainly seem to want to make sure, (on at least, THIS issue,) that you don't open the hood at 70 mph, because they assume as a Mac user, you're dumb enough to try that.

      Actually, I think they think anyone not working for them is stupid enough to try that, but they don't care if you do that using M$ LoseBlows, in fact, they probably are only too happy to hear you did it using something from their competition... they mainly want to make sure that to the extent possible, at least until they decide you're done using YOUR computer that you bought from them, and it's time for you to buy a new one, that your computer functions perfectly, and they are convinced that if you're allowed to open the hood and dick around underneath, there's a non-zero chance you'll screw something up, delete something important, and then when some time down the line, if not immediately, something stops working right, you'll blame THEM, or the quality of their hardware or software or both, and maybe next time will choose a different manufacturer, and then Tim Cook won't be able to buy another island somewhere you're not allowed even to know exists, let alone visit.

      --
      Our reign has gone on long enough. Indeed. Summon the meteors.
    5. Re:Dumb Question.. by TechyImmigrant · · Score: 1

      Windows also has said Linux utilies in the Linux Subsystem for Windows. Works pretty good.

      Linux has all said utilities in the /bin and /usr/bin directories. Works excellently without the need for a second host operating system with a screwy file system. The install even asks you to set the root password.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    6. Re:Dumb Question.. by TechyImmigrant · · Score: 1

      > Why should I set a password for an account that does not exist on my machine?

      I think this is the core conceptual difference. There is no such thing as a unix like operating system that doesn't have root. It's integral to how it works. Pretending it isn't there is going to lead to choices like not setting a password for it. Apple certainly should be telling people to set it if it isn't set.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  49. to prevent reality distortion field implosions by tomxor · · Score: 1

    Why the quotes around exploit?

    The quotes allow for de-escalation synonym transposition that helps to stabilize the reality distortion field that protects the mac psyche... without it Apple would surely implode.

  50. Missing software freedom by jbn-o · · Score: 1, Interesting

    From what I gather so far, you're missing software freedom. Whether this is creation of an unprivileged account named "root" or granting admin privileges to anyone patient enough to "click on unlock a few times" (as the story intro claims), something is wrong. Are MacOS users still being denied the permission to inspect what's really going on in the source code, fix the problem, and distribute fixed code to others?

    In the referenced twitter.com thread, Apple wants to "take a closer look at what's happening together" in an unpublished discussion ("Send us a DM that includes your Mac model along with your macOS version. We'll meet up with you there."). There are plenty of skilled programmers willing to help but without software freedom, this makes Apple look even worse than their lame attempt at seeing the problem which it's entirely possible only they have the privilege to really study, understand, and fix.

  51. Re: Am i missing something here? by Anonymous Coward · · Score: 1, Insightful

    Are you retarded? What the fuck do you think an exploit is?

  52. LOL.... by MerlTurkin · · Score: 1, Funny

    .....It 'Just works!"

    1. Re:LOL.... by Hallux-F-Sinister · · Score: 1

      .....It 'Just works!"

      It sure used to. Apple is slowly morphing into Microsoft. :-(

      --
      Our reign has gone on long enough. Indeed. Summon the meteors.
  53. Re:Am i missing something here? by Anonymous Coward · · Score: 1

    The technique described exploits the bug to give somebody administrative access. I'm not sure you understand what you are talking about when you use a phrase like "it is a bug that will be used like an exploit".

  54. Re:Am i missing something here? by Rutulian · · Score: 3, Interesting

    No, by default the root account is disabled, but it's there.

    This smells like a misconfigured PAM. Apple does a lot of weird and non-standard stuff with the *nix user land, so they probably introduced the vulnerability that way. An improperly configured PAM stack can, for example, try a particular auth mechanism a preconfigured number of times before moving to the next auth mechanism. That fallback mechanism could be the Apple directory service, which doesn't handle the root user and leaves it to the system, but ignores the *nix convention that a passwordless entry in /etc/passwd is a disabled account. Not sure exactly what is happening and don't have a system to test on.

    Best workaround is to set the shell of the root user to /bin/false. That will block any attempt to get an interactive login.

  55. Re:Lenny is that you? by boudie2 · · Score: 1

    macos uses launchd.

    https://wiki.gentoo.org/wiki/C...

  56. Re:Am i missing something here? by hcs_$reboot · · Score: 1

    Doesn't work on mine (have 10.13.1)

    --
    Slashdot, fix the reply notifications... You won't get away with it...
  57. Re:Windows 10 ... by Megane · · Score: 1

    October 1979, spend half an hour trying to figure out how to answer "Memory Size?", as it was (IIRC) not in the instruction manual(s). Went Mac in 1985, after a short side-trip through CoCo land to play with 6809 code.

    I smugly know that I'm not vulnerable to this because I normally run 10.9. The highest I have is a Mac Mini that came with 10.12 installed, and once I "jail broke" that one, there was no reason to downgrade. I wish companies would quit trying to "re-imagine" operating systems all the time. And quit trying to make "pro" hardware "thin" (or round) for no good reason.

    --
    #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
  58. Re:Calling John C. Randolph (jcr)! We need your in by jcr · · Score: 4, Informative

    So, I just tried it on a completely fresh install, and I was able to reproduce the bug. No idea why it didn't manifest on any of my existing installations.

    I would expect that the relevant teams at Apple will push an update to fix this in a day or two at the most. In the meantime, you can work around this from any administrator account by setting a password on the root account ( open a terminal window, enter "sudo passwd root", and follow the prompts.)

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  59. Re:I can't repro this. Can you? by jcr · · Score: 1

    As it turns out, I did just reproduce it on a fresh install that I updated to today's beta.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  60. Re:Can Anyone Here Reproduce This? by scdeimos · · Score: 2
    The exploit doesn't work if you've enabled the root account and set a password, or if you have set a password for it and then disabled it again.

    From the GUI go to Command-Space > Directory Utility, click the lock and check the Edit menu for "Enable Root User" or "Disable Root User" options.

    From a Terminal use the dsenableroot command.

  61. Re:Am i missing something here? by elistan · · Score: 2

    Doesn't work on mine (have 10.13.1)

    Having an enabled root account with a non-blank password disables this vulnerability. Does that match your situation?

  62. Re: Apple deserves a geek at the top by Hentai007 · · Score: 1

    Christ just give me back the samaba implementation from 10.6.8 when it acutally worked

  63. Re:Apple deserves a geek at the top by Etcetera · · Score: 1

    Srsly, dude? Mac OSX is pretty much the slickest thing out there. Which OS, specifically, do you want Tim Cook to give you back? System 7? System 8? Because those were so much better..?

    System 7.0.1 was awesome -- I don't know what you're talking about. And Mac OS 8.6 (with the NuKernel and a few cherry-picked Copland features) was damn stable for me too. Much better that MacOS 9, which was only useful for giving FileVault and VoicePrint login demos...

    But try to stick 8.6 on Rhapsody and you kind of had a halfway decent OS, ya know?

  64. Re: At apple,we care about your privacy and securi by Hentai007 · · Score: 2

    They are not an enterprise company.
    and they will tell you this, ad nauseam...any time you have an issue they cant fix.

  65. Re:Apple deserves a geek at the top by Computershack · · Score: 1

    It was shit under Steve Jobs as well. Apple iPhone power button anyone that was still defective suffering the same failure four releases later? The only difference between Jobs and Cook is Tim Cook doesn't have people who think of him as the second coming of Christ so they're not as blinded by faith as they were before.

    --
    I only please one person per day. Today is not your day. Tomorrow isn't looking good either. - Scott Adams
  66. Re: Apple deserves a geek at the top by Computershack · · Score: 1

    It doesn't work now because anyone with an ounce of common sense is turning off SMB1.0 on Windows.

    --
    I only please one person per day. Today is not your day. Tomorrow isn't looking good either. - Scott Adams
  67. Re:Am i missing something here? by hcs_$reboot · · Score: 1

    Indeed, that's the case

    --
    Slashdot, fix the reply notifications... You won't get away with it...
  68. FIXED* by Hallux-F-Sinister · · Score: 1
    Okay. Mac users with High Sierra: open a terminal window. Type "sudo su" and press enter. It will prompt you for your user account password, which you'll have to type at the little key prompt. Then type "passwd" and press enter, at which point it will prompt you to change the root user password. USE A DIFFERENT PASSWORD, (obviously) and make sure you don't forget it. Solved. (After this procedure, if you like, you can try that trick with clicking the lock icon to install something and typing "root," I can confirm it doesn't work once you set a root password.

    I believe the problem here stems from the fact that some time ago, Apple decided it would be a peachy idea, (pun definitely intended) to do away with a root user, and just let the regular user do privileged things by sudo-ing them, locking the high-privilege stuff with the user password. The sad part is that that makes it so they could have the root account HAVE no password. BAD PROGRAMMING, Apple. BAD. SUCKY. PATHETIC.

    Also, on another note... COME ON, APPLE! JESUS HOLY M.F.'ing CHRIST! Don't you even test the beta software you're pushing out as if it were production-ready?!? You guys are getting to be as bad as MICROSOFT!!! This is amatrurish, Microsoftish crap, shipping something with this big of a hole in it. This is worse than Kryptonite's 'open-with-a-BIC-pen' locks. At least with THEM, you needed to have a BIC PEN!

    Just because you don't call it beta does NOT mean it's not beta quality. Or sub-beta quality.

    I swear one of these days I'm going to put GNU/LINUX on all my Macs and wash my hands of iMac-OS-X (or whatever they're calling their buggy, un-secure garbage OSes this week,) once and for all!

    TIRED of Apple's CRAP! TIRED of it!

    --
    Our reign has gone on long enough. Indeed. Summon the meteors.
  69. Re:Windows 10 ... by JDShewey · · Score: 1

    Discuss. OK. Well, I know that you old timers have trouble keeping up with the lingo "the youth" use these days and all their newfangled technology, but, clearly, this is flamebait and you are trolling. As it turns out, The Oxford English Dictionary places the origin of the term "Troll" in 1990 on Usenet in which veteran users would "Troll for newbies", or "noobs" and yank their chains a bit. So, I think you may have misunderstood my second hashtag (and hashtags in general). One clue was the pluralization of "noobs" - as you would (hypothetically) be a singlenoob this would not apply to you. Secondly, hashtags go at the end of a twitter post, and this was meant as a comical appendix to your comment, implying it would be you (the self-proclaimed old-timer) calling everyone else "noobs" for responding your flamebait comment. In this way, I use sarcasm to call out and shame you for your flamebaiting. Clearly, all Operating systems have bugs and always will. Claiming one is better than another is just trying to start a flame-war. Frankly all OSes suck. Just differently.

  70. Re: Apple deserves a geek at the top by axettone · · Score: 1

    Exactly

  71. Re:Am i missing something here? by hcs_$reboot · · Score: 1

    By default, there's no root account.

    Are you sure of that?

    The root user is disabled by default. If you can log in to your Mac with an administrator account, you can enable the root user, then log in as the root user to complete your task.

    --
    Slashdot, fix the reply notifications... You won't get away with it...
  72. Re:Am i missing something here? by michelcolman · · Score: 2

    If you enabled the root account and set a password, like you did, there is no problem. However, if you never set up the root account (like the vast majority of users), the dialog first rejects but then accepts the login after a few attempts. That's definitely a bug, and a very serious one because many people just put their laptop to sleep instead of shutting it down, which makes the login box the only remaining protection even if you have disk encryption enabled. Any thief can now open the lid, log in as root, and read your files.

  73. Re:Am i missing something here? by Hallux-F-Sinister · · Score: 2

    By default, there's no root account. Attempting to log in as root with no password multiple times creates a root account with no password.

    Wow... they'll give anything a "5: Informative" won't they?

    Yes, you're missing something. There IS a root account, it's just configured not to let you log into it. If you'd like to see, open a terminal on a Mac, type "sudo su" followed when prompted by your user password, then type the command, "whoami" and press enter. It'll respond "root". This is true for all Macs, as far as I know, at least, as they come from Apple. Maybe there's a way to change the root account, so you can make this be, not true, as it were, for YOUR specific Mac... but yeah. When you're done marveling at how you have a "#" prompt now, (indicating super-user access, as opposed to the normal unprivileged "$" prompt, you might want to type "exit" and get out of super-user mode, before you go and rm -rf something important.

    --
    Our reign has gone on long enough. Indeed. Summon the meteors.
  74. Re: Am i missing something here? by Bert64 · · Score: 1

    SCP won't work if the default shell is set to /bin/false, and current versions of sshd don't allow root logons by default unless you install an ssh key. Although giving the root account an invalid shell will also break single user mode and various system functions, possibly even preventing the system from booting.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  75. Re:Can Anyone Here Reproduce This? by Bert64 · · Score: 2

    I wonder if it works when logged in via the guest account (if enabled)?

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  76. Re:Am i missing something here? by Hallux-F-Sinister · · Score: 2, Informative

    No, by default the root account is disabled, but it's there.

    This smells like a misconfigured PAM. Apple does a lot of weird and non-standard stuff with the *nix user land, so they probably introduced the vulnerability that way. An improperly configured PAM stack can, for example, try a particular auth mechanism a preconfigured number of times before moving to the next auth mechanism. That fallback mechanism could be the Apple directory service, which doesn't handle the root user and leaves it to the system, but ignores the *nix convention that a passwordless entry in /etc/passwd is a disabled account. Not sure exactly what is happening and don't have a system to test on.

    Best workaround is to set the shell of the root user to /bin/false. That will block any attempt to get an interactive login.

    This is incorrect. LOGGING IN AS ROOT is disabled. You can still trivially get to be root from a user account in terminal by typing "sudo su" and pressing enter then entering the USER password when prompted. To verify, once you do this, (and have a "#" prompt,) type "whoami" and see if it doesn't respond, "root". To fix this, while logged in as root, just type "passwd" and set the super-user (root account) password. Make sure you will be able to remember it, as if you ever DID want to do anything AS root, you might need that. (You could change it, forget, and still be able to access root through the same means, using "sudo su," as it will still only ask for the USER password to get there, but if you ever did alter... /etc/... something, I forget what, to make it possible to log in AS root, properly, (rather than backwards through sudo su,) which I believe IS possible though can't recall how exactly, you WILL need the root password you just set to log in as root.).

    BEAR IN MIND: you can also, once a root password is set, type "su root" and become root THAT way. Going THAT route, you WILL be prompted for the ROOT password, NOT THE USER one. (It won't tell you which it wants, it's just that going 'sudo su' and typing the root password fails, typing the user password succeeds, while going 'su root,' typing the user password fails, but the root password (once one exists,) succeeds.). I don't know if you can "su root" with no root password set, in fact, I think it's designed NOT to let you do that, since by HAVING no root password, there'd be no way to log in. "/bin/sh" would check for the /etc/passwords file, or whatever, wherever it's kept on a Mac..., and finding no entry for root, would fail the login attempt, and reply "su: Sorry" or something like that. (I can't now test how that works on a Mac, having recently added a root password to my machine, but I vaguely recall it went something like that.)

    Or something like all that. It's late enough that I could be a little fuzzy on the details. I think actually that once "su root" works, that just using "su" would work too, as it defaults to root...

    --
    Our reign has gone on long enough. Indeed. Summon the meteors.
  77. Re:Am i missing something here? by TheRaven64 · · Score: 2

    It's pretty common to do on BSD systems, because there are a bunch of things that add extra checks for blank passwords and so effectively disable use of the root account. For example, SSH won't allow root login if the root password is blank. Only members of the wheel group can su to root and if you put users in a sudo-enabled group but not in wheel then no one can su to root. If you can mark consoles as insecure then root login is disabled by default on them. This basically leaves you with booting to single user mode as the only way of logging in as root. This is basically the setup that macOS uses: the root account is effectively disabled by setting the password to blank (modulo bugs like this).

    --
    I am TheRaven on Soylent News
  78. Re:Am i missing something here? by TheRaven64 · · Score: 1

    If you want to be technical, this is a vulnerability. An exploit is something that (as its name implies) exploits a vulnerability (which is a category of bug that can be used by exploits).

    --
    I am TheRaven on Soylent News
  79. Re:Am i missing something here? by Anonymous Coward · · Score: 1

    If it created a new $random (here: "root") account, it quite certainly wouldn't have userid/groupid 0, thus no access to all of the system. I'd rather hazard a guess (haven't read up all the gritty details, in true /.-fashion) that in fact, it enables the pre-existing root account (with userid/groupid 0) with an empty password. It would be illuminating to check the MacOS equivalent (or have they kept them? Don't have a Mac, won't get one) of /etc/passwd and /etc/shadow files before and after this hack.

  80. Re:Am i missing something here? by retchdog · · Score: 1

    you're correct about the behavior of su; i tested it last night after hearing about this.

    --
    "They were pure niggers." – Noam Chomsky
  81. Perfect name for this bug: SLAP by paulpach · · Score: 3, Interesting

    I propose we give this bug a name: Superuser Login Absent Password, or SLAP for short.

  82. Re:Am i missing something here? by angel'o'sphere · · Score: 1

    A disabled account in unix has as password a * (but it still allows SSH login, provided the keys are distributed)
    Having an empty password field is completely allowed.

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  83. Re:Am i missing something here? by angel'o'sphere · · Score: 1

    Why so complicated :D
    Just do "sudo bash"

    But well, obviously I simply do a "su -"

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  84. Re:Apple deserves a geek at the top by AmiMoJo · · Score: 1

    Or maybe under Tim Cooks leadership the overall quality of Apples software and hardware has noticeably declined.

    Under Jobs we got Apple Maps, so bad it could actually kill you. We had numerous testing and quality issues from Apple, like the MacBook 1/4 gallon of thermal paste issue or the classic iPhone 4 antenna "holding it wrong" design flaw.

    Even going back to the CRT iMac you had CD-ROM drives with no emergency eject hole, meaning if the disc got trapped you had to disassemble the whole thing (complete with high voltages from the CRT floating around).

    Don't mistake the shiny veneer they put on stuff for competence. 16 years later and iTunes is still a turd.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  85. Re:Am i missing something here? by angel'o'sphere · · Score: 1

    What you want to have as prompt you usually configure in your .bashrc file or what ever shell you use.
    While # is traditionally used for root and $ for user accounts, you can set it to anything you want.

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  86. Re:Can Anyone Here Reproduce This? by angel'o'sphere · · Score: 1

    Of course it works via screen sharing.
    How should the log on system know that you are doing it via a shared screen and not via the console?

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  87. Re: Am i missing something here? by Anonymous Coward · · Score: 1

    Your license to use capitals is hereby revoked. Please surrender your shift and caps lock keys immediately.

  88. Re:Am i missing something here? by Rutulian · · Score: 1

    This is incorrect. LOGGING IN AS ROOT is disabled. You can still trivially get to be root from a user account in terminal by typing "sudo su" and pressing enter then entering the USER password when prompted.

    Yes, you are correct. What I meant was any login (invoking the standard pam_unix module) to the root account is disabled, which includes "su root". Sudo works because it uses the setuid bit to elevate your permissions without first authenticating the root account. It is a convenient method to allow people to run programs as root without logging in as root, and linux distributions such as Ubuntu have been setting up the userland that way by default for many years. It works pretty well as long as you have a properly configured /etc/sudoers file.

  89. Re: Am i missing something here? by Rutulian · · Score: 1

    Although giving the root account an invalid shell will also break single user mode and various system functions, possibly even preventing the system from booting.

    Are you sure about that? I admit I haven't tried it, but I don't see why it wouldn't work. The only reason to consult /etc/passwd would be to authenticate the root account, which pam_unix treats as disabled if the password is blank. Su and login require a valid shell entry, but AFAIK nothing else does. Sudo doesn't require the root user to have a shell, and neither does init. So it seems like pretty good insurance to me. If, for example, somebody sets nullok in pam.conf allowing the root user to login with a blank password, the invalid shell entry will block it.

    You are right that it would break single-user mode, but you can probably fix that by editing your init script.

  90. Re:Apple deserves a geek at the top by Megol · · Score: 1

    Really? Something to back that up would be nice...

  91. Re:Can Anyone Here Reproduce This? by anegg · · Score: 1

    There are (at least in history) operating systems that use the source of a login to determine whether the login is allowed. Some of these can be configured to block root logins from any source other than the local console. I'm not directly familiar with how MacOS "screen sharing" is tied into the OS (i.e., did a login coming through the "screen sharing" mechanism show a different login source that was used to limit certain behaviors), so it was worth it (to me) to validate that the technique worked via "screen sharing" rather than just assume it did (and have someone else point out my stupidity later). Words to live by: "There are more things in heaven and earth, Horatio, Than are dreamt of in your philosophy."

    Unhappily, and perhaps/hopefully entirely coincidentally, the Open Directory database on my MacOS server got borked during my testing, and had to be manually recovered to restore the network accounts on my machine. I'm wary, because this is the first time in 3 years that this Open Directory database has failed on me, but I really don't want to spend hours determining whether their is a relationship if i don't have to. Please Apple, deliver an OS patch today. This low-level stuff is supposed to "just work" so that I can spend time dealing with "higher level" problems.

  92. Re:Am i missing something here? by DickBreath · · Score: 2

    A root account with no password is a fantastic idea to increase user friendliness. Everything should be easy to use. Remember the UI principles. Point and click rather than Remember and Type. Why should a Mac user have to be burdened with remembering a password?

    --

    I'll see your senator, and I'll raise you two judges.
  93. Re: Am i missing something here? by sabri · · Score: 1

    current versions of sshd don't allow root logons by default unless you install an ssh key.

    Bullshit. That is a configurable option in /etc/ssh/sshd.conf

    PermitRootLogin yes

    or

    PermitRootLogin without-password

    --
    I'm not a complete idiot... Some parts are missing.
  94. Re:Am i missing something here? by jrmcferren · · Score: 1

    By default the account "root" is disabled, however, if you use this exploit, you enable the root account with no password. The workaround is literally enabling the account and setting the password. I almost freaked out when I found this exploit.

    --
    sudo mod me up
  95. Re:Calling John C. Randolph (jcr)! We need your in by jcr · · Score: 2
    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  96. The fix was just posted. by jcr · · Score: 1
    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  97. Re:Am i missing something here? by FrankHaynes · · Score: 1

    <account name> is not in the sudoers file. This incident will be reported.

    Now I'm scared!! THANKS a LOT!!

    --
    slashdot: A failed experiment.
  98. Re:Am i missing something here? by skids · · Score: 1

    The default settings are a root account that is disabled for logins, with no password, because it is (duh) disabled for logins.

    It seems it's the "disabled for logins" part that got broken under this bug, at least for some path in the code that deals with multiple failed login attempts.

  99. Re: Am i missing something here? by Bert64 · · Score: 1

    Exactly what did i say that was bullshit?

    The default configuration on modern versions (since 7.0) is to only allow root logins with keys, see:
    https://www.openssh.com/txt/re...

    I never said it wasn't configurable, i said password root login is not enabled by default.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  100. Re:Am i missing something here? by retchdog · · Score: 1

    technically it belongs to my employer.

    --
    "They were pure niggers." – Noam Chomsky
  101. Re: Windows 10 ... by Brockmire · · Score: 1

    Whistler? Vail? Your attempt at funny needed to include the funny.

  102. Re: Apple deserves a geek at the top by Brockmire · · Score: 1

    You forgot the class actions for things like defective batteries and capacitors.

  103. Re: this is nothing new.. by Brockmire · · Score: 1

    He provided zero proof. Therefore, what the fuck did it add? Nothing.

  104. Re: Apple deserves a geek at the top by Hentai007 · · Score: 1

    Oh i get the need to get off the old samba, I don't get the ineptitude in writing a version that works correctly. everything from 10.6.8 onward has been broken horribly

  105. Re:Perfect name for this bug: SLAP by Zobeid · · Score: 1

    Or we could just call it the "I Am Root" bug.

  106. Re:Am i missing something here? by RockDoctor · · Score: 1

    Yeah, I hadn't heard that "convention" before. Casts doubt on the rest of the comment.

    --
    Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"