3 ms·
Mac OS X Root Escalation Attack
- bayareaguy 18y agoThe slashdot summary: Half the Mac OS X boxes in the world (confirmed on Mac OS X 10.4 Tiger and 10.5 Leopard) can be rooted through AppleScript: osascript -e 'tell app "ARDAgent" to do shell script "whoami"'; Works for normal users and admins, provided the normal user wasn't switched to via fast user switching. Secure? I think not. Wow, time to sudo chmod u-s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent just like patrick42 suggests.
- yan 18y agoWhile yes this is an issue that should be solved, it's not /that/ bad. You need physical access to the machine as people in comments point out, and if you have physical access to the machine it's game over anyway.
- swombat 18y agoSince when do you need physical access to the machine to run an applescript? You just need to convince the user to execute a piece of code.