Apple Mac OS X ARDAgent Privilege Escalation Vulnerability
Secunia Advisory: SA30776
Release Date: 2008-06-23
Last Update: 2008-08-01
Popularity: 3,640 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

OS:Apple Macintosh OS X

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-2830


Description:
A vulnerability has been discovered in Mac OS X, which can be exploited by malicious, local users to gain escalated privileges.

The problem is that "ARDAgent", which is owned by "root" and has the setuid bit set, can be invoked to execute shell commands via AppleScript (e.g. through "osascript"). This can be exploited to execute arbitrary commands with root privileges.

The vulnerability is confirmed on Mac OS X 10.4 and is also reported in version 10.5.

Solution:
Apply Security Update 2008-005.

Security Update 2008-005 Server (PPC):
http://www.apple.com/support/downloads/securityupdate2008005serverppc.html

Security Update 2008-005 Server (Intel):
http://www.apple.com/support/downloads/securityupdate2008005serverintel.html

Security Update 2008-005 (PPC):
http://www.apple.com/support/downloads/securityupdate2008005ppc.html

Security Update 2008-005 (Intel):
http://www.apple.com/support/downloads/securityupdate2008005intel.html

Security Update 2008-005 (Leopard):
http://www.apple.com/support/downloads/securityupdate2008005leopard.html

Provided and/or discovered by:
Reported in the Macshadows.com forums and via Slashdot.

Changelog:
2008-06-25: Added CVE reference.
2008-06-26: Added links to "Other References" section.
2008-08-01: Updated "Solution" section. Added vendor link to the "Original Advisory" section.

Original Advisory:
Apple:
http://support.apple.com/kb/HT2647

http://www.macshadows.com/forums/index.php?showtopic=8640
http://it.slashdot.org/article.pl?sid=08/06/18/1919224

Other References:
http://www.macshadows.com/kb/index.php?title=ARDAgent_exploit
http://www.macshadows.com/kb/index.ph....apple.SystemLoginItems.plist_Exploit


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Microsoft Office Two Code Execution Vulnerabilities // 22 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 21 views
3. phpBB "gen_rand_string()" Predictable RNG Weakness // 15 views
4. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 13 views
5. Drupal Content Construction Kit Script Insertion Vulnerabilities // 12 views
6. XASTIR Insecure Temporary Files // 10 views
7. QNX Neutrino RTOS Multiple Privilege Escalation Vulnerabilities // 9 views
8. Apple QuickTime Multiple Vulnerabilities // 9 views
9. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 9 views
10. phpBB reveals user IPs // 9 views