Apple Mac OS X AppleScript ARDAgent Shell Local Privilege Escalation Vulnerability

BID:29831

Info

Apple Mac OS X AppleScript ARDAgent Shell Local Privilege Escalation Vulnerability

Bugtraq ID: 29831
Class: Access Validation Error
CVE: CVE-2008-2830
Remote: No
Local: Yes
Published: Jun 19 2008 12:00AM
Updated: Sep 16 2008 10:40PM
Credit: anonymous
Vulnerable: Apple Remote Desktop 3.2.1
Apple Mac OS X Server 10.5.4
Apple Mac OS X Server 10.5.3
Apple Mac OS X Server 10.5.2
Apple Mac OS X Server 10.5.1
Apple Mac OS X Server 10.4.11
Apple Mac OS X Server 10.4.10
Apple Mac OS X Server 10.4.9
Apple Mac OS X Server 10.4.8
Apple Mac OS X Server 10.4.7
Apple Mac OS X Server 10.4.6
Apple Mac OS X Server 10.4.5
Apple Mac OS X Server 10.4.4
Apple Mac OS X Server 10.4.3
Apple Mac OS X Server 10.4.2
Apple Mac OS X Server 10.4.1
Apple Mac OS X Server 10.4
Apple Mac OS X Server 10.5
Apple Mac OS X 10.5.4
Apple Mac OS X 10.5.3
Apple Mac OS X 10.5.2
Apple Mac OS X 10.5.1
Apple Mac OS X 10.4.11
Apple Mac OS X 10.4.10
Apple Mac OS X 10.4.9
Apple Mac OS X 10.4.8
Apple Mac OS X 10.4.7
Apple Mac OS X 10.4.6
Apple Mac OS X 10.4.5
Apple Mac OS X 10.4.4
Apple Mac OS X 10.4.3
Apple Mac OS X 10.4.2
Apple Mac OS X 10.4.1
Apple Mac OS X 10.4
Apple Mac OS X 10.5
Not Vulnerable: Apple Remote Desktop 3.2.2

Discussion

Apple Mac OS X AppleScript ARDAgent Shell Local Privilege Escalation Vulnerability

Mac OS X is prone to a local privilege-escalation vulnerability affecting ARDAgent (Apple Remote Desktop).

Successful exploits allow local attackers to execute arbitrary code with superuser privileges, completely compromising the affected computer.

This issue is confirmed to affect Mac OS X 10.5 versions; earlier versions may also be vulnerable.

Exploit / POC

Apple Mac OS X AppleScript ARDAgent Shell Local Privilege Escalation Vulnerability

The following exploit code is available:

osascript -e 'tell app "ARDAgent" to do shell script "whoami"';

NOTE: This issue is being exploited by the 'AppleScript.THT' trojan to gain elevated privileges. Please see the references for more information.

Solution / Fix

Apple Mac OS X AppleScript ARDAgent Shell Local Privilege Escalation Vulnerability

Solution:
The vendor has released fixes and an advisory. Please see the references for more information.


Apple Mac OS X 10.5.4

Apple Mac OS X Server 10.5.4

Apple Remote Desktop 3.2.1

References

Apple Mac OS X AppleScript ARDAgent Shell Local Privilege Escalation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report