Thursday, November 30, 2017

MacOS High Sierra login bug

Intro

If you've been following security news, you'd know that Mac OS High Sierra has a security bug. Most of the articles have done a fine job explaining all the fluff, so I'll get straight to the point.

If you have no password for the root account (as is the case for most users, since they haven't explicitly set up a root account and password on their system), then Mac will accept a blank password for logging into root.

A demo is better than a 1000 words, and I'll show you one real quick-

Demo

Step 1 : Go to a place requiring admin privilege authentication. For example, Users and Groups in System Preferences.

Step 2 : Click on the lock, and you'd be prompted to login.

Step 3 : Change username to root, leave the password field blank (After changing username to root, press tab to move to the password field, then tab again to go back to username field, and then click unlock, otherwise this won't work).


That's it. You can get creative regarding what all you can accomplish with this. I haven't tried it, but I've heard that this attack (bug :p) works remotely!

Fix

Seeing as how this bug puts your system at risk, I'm sure you are curious as to how to fix it. One way is to give your root account a password. 

However, on 29th Nov apple released a security update for this bug. We'll simply use that. Here's the update - https://support.apple.com/en-us/HT208315 (the section below uses info from the linked page)

Let's first check if the update is installed. 

For that, type this on your terminal and hit enter-
what /usr/libexec/opendirectoryd
If your output is something like this, then you have an old version of the update installed-


If it's one of these two, or a more recent version (higher numbers), then you're good

opendirectoryd-483.1.5 on macOS High Sierra 10.13
opendirectoryd-483.20.7 on macOS High Sierra 10.13.1

So, if you have and old version like me, let's head to the app store and install the update.
Sure enough, here's the update we need. It'll take a bit to get installed.



Once that's done, let's just run the same command again and verify that the version number increased to our liking. Now we're all good. 




Verify-


Bug seems fixed. That's it for the post.

12 comments:

  1. Today you will show Sqlmap's work! Which is already in ink linux! You can use Nessus, Vega, Acunetix for Windows to know whether a site is eligible for SQL Injection! The software will get Google A search!

    For Kali Linux youo can use Vega, Power Fuzzar! Kali linux Tutorial

    ReplyDelete
    Replies
    1. ✅ ✅ MEET THE REAL HACKERS ✅✅

      Hello,

      I’m Nicholas Shields I’m the Marketing Manager Of The Hack Team COMPOSITE HACKS, We Are Hackers Who Specializes in All Kinds Of Legit Hacking Services, I'm really concerned about sharing my views on this advert cause many people now don't know who to ask for help anymore but there's really an actual solution to that which I am giving you for free, Don't go for the cheap Ones which I know you understand what I'm saying like hackers using gmail and other cheaper email accounts that could be easily hacked you know, why would a REAL HACKER want to use something that brings out his vulnerabilities? it's really so sad that they even lack creativity to the extent that they show their frustrations to people. so you see they are really not who they say they're, they are just here to Rip people Off and my advice really goes out to you looking for a Real Hacker that's a heads up so that you would fall deep into their trap no more.

      * So hit me up to get to experience real life effective hacking Services, I Will Link you Up with some Legit Hackers That you never believed you could meet, such as FRANS ROSEN, BEN SADEGHIPOUR, PETER YAWORSKI, JOBERT ABMA, JACK CABLE and More.

      ✅CONTACT:
      * Email:
      compositehacks@cyberservices.com
      * Hire a Hacker!
      * Want faster service? Contact us!
      * HackerOne©️LLC 2018.
      * All Rights Reserved ®️

      Delete
  2. This login bug is unaccetable. I was seriously scandalized by this when the news first appeared, and now that they are trying to fix it with updates, we need to think how messed up the development must be if things like that are present.
    https://macdownload.informer.com/Mac-Stories/macos-high-sierra-can-be-hacked-simply-by-typing-root.html
    Apple needs to be scrutinized.

    ReplyDelete
  3. I sincerely didn’t like the idea, but this is my way of saying thank you to the Quora user that recommended a hacker (ETHICALHACKERS009@GMAIL.COM)

    I hired him for a very private and difficult matter of helping me hack a my spouse’s phone and social networks and some other personal stuffs and he far exceeded my expectations. which Jeremie, helped me get the info(whatsapp, facebook, text messages, call logs etc) faster and cheaper than I had imagined. The first time we spoke, we had a very long phone consultation in he gave me all my options that he could think of to resolve my case, and he even recommended I try other options before hiring him, which shows that he is honest. I decided to hire him and I am glad I did. he is a fantastic investigator and a great person. If you need a professional, reliable and efficient hacker, then you should contact this guy ; ETHICALHACKERS009@GMAIL.COM
    You can also call him or send him a text +16692252253

    ReplyDelete

  4. 24hours ago i saw a recommendation about cyberprofessionalhacker@gmail.com and i took the risk to hire him for the job i
    wanted done and to my surprise he delivered to me with no stress and he even gave me proof of his
    prowess before i issued payment, i am so happy that finally i got what i have been searching for a long time
    you can call them or send them an email cyberprofessionalhacker@gmail.com whatsapp:+1 (518) 418-1598

    ReplyDelete
  5. Sabung Ayam Resmi 2018 klik di sini
    cheat games online
    http://www.sateayam.net/

    disini!
    dan dapatkan seputar sabung ayam hanya di sini www.Sateayam.org

    https://siswaburung.tumblr.com/post/175224462531/type-ayam-aduan-super-di-sabung-ayam-on-line

    ReplyDelete
  6. Langkah Tepat Untuk Melatih Ayam Aduan Menjadi Ayam Aduan Juara Yang Menakutkan Klik Di Sini

    Agen Sabung Ayam Online Terbaik Dan Juga Terpercaya http://www.bakarayam.co

    Portal Informasi Mengenai Sabung Ayam

    http://bakarayam330033.webstarts.com/blog/post/mengulas-lebih-dekat-ciri-ayam-philipin-yg-bagus/

    ReplyDelete
  7. I never knew it was possible until a friend of my who is studying computer science in Massachusetts Institute of Technology told me about these Chinese computer geniuses he knew Soft tech geeks. They helped me clone a credit card to my dad's account and now I can spend Dad's money without him knowing. Contact them for any tech job you need. softtechgeeks@gmail.com

    ReplyDelete
  8. Selamat Datang
    S1288poker.com
    Kami menyediakan berbagai permainan yang menarik untuk anda, selama anda bermain kami juga menyediakan berbagai bonus menarik buat anda. Penasaran?
    mari klik link di bawah ini :
    Situs Judi Online
    Bandar Ceme
    Ceme Online
    Ceme 99
    Qiu Ceme
    Untuk info lebih lanjut silakan hubungi konta di bawah ini
    Contact Person :
    WA : 087782869981
    BBM - 7AC8D76B

    ReplyDelete
  9. If you think your spouse may be cheating, you can contact PHONESPYAPPS1@GMAIL.COM
    He’s a real hacker and was very reliable in helping me spy on my cheating husband’s cell phone remotely.

    ReplyDelete
  10. Agen Sabung Ayam Terbaik Indonesia AGENS128.
    Agen Bola Sbobet Indonesia
    Link Alternatif Sbobet
    Contact Kami :
    BBM : D8B84EE1 / AGENS128
    Line id : agens1288
    WhatsApp : 0877-8922-1725
    Telegram : AgenS128 / https://t.me/AgenS128

    ReplyDelete

© Kali Tutorials, 2016. Unauthorized use and/or duplication of this material without express and written permission from this site’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Shashwat Chaudhary and Kali Tutorials with appropriate and specific direction to the original content.
Bitcoin: 1B5aLqJcMW7zznffTxQwta8JTZsxBDPguC