System Preferences root access bug in macOS High Sierra

I have tested this in macOS High Sierra 11.3.2.  You can gain root access from the App Store System Preferences.

How to simulate

  • Open System Preferences.
  • Click on App Store icon.
  • If the App Store preference pane is unlocked, lock it.
  • Unlock the preference pane with your apple username and any password.
  • You will get root access!