[Full-disclosure] NETRAGARD-20060624 SECURITY ADVISORY] [ROXIO TOAST 7 TITANIUM - LOCAL ROOT COMPROMISE ]



Hello list members,

I don't consider this to be a legitimate exploit at all, since admin privileges are required to access the Deja Vu preference pane. (It's locked for standard users.) And, of course, any admin user on OS X can become root at any time:

% sudo su
Password:
godard:/tmp root# id
uid=0(root) gid=0(wheel) groups=0(wheel), 1(daemon), 2(kmem), 3(sys), 4(tty), 29(certusers), 8(procview), 5(operator), 9(procmod), 80 (admin), 20(staff)

The "attack" depends primarily on the ability to prepend /tmp to $PATH, as shown in this part of Step 2:

netragard-test-1$export PATH=/tmp/:$PATH

Even if there is a malicious 'rm' program (for example) sitting inside of /tmp, the 'export' command can only change the $PATH environment variable to prepend /tmp within the current account (actually, only within the current shell session).

In other words, if the "attacker" already has an admin user name and password required to use Deja Vu, then they already have the means to become root at any time (see 'sudo su' above).

Kind Regards,
-jeff

--
Jeff Holland
http://propagandaprod.com



_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/



Relevant Pages

  • Re: What microsoft has to say about XP
    ... James Mckenzie wrote: ... want the admin home directory to go, and fix it, and check that there's ... nothing under /var that refers to root by name (I can't see anything at ... another admin user with userID 0 (yes, you *are* supposed to be able to ...
    (Fedora)
  • Re: Easy way/script to add another user like me?
    ... have to do to give a user sudo privileges is to add them to the ... # Members of the admin group may gain root privileges ... of cracking the root password because they already know the ...
    (Ubuntu)
  • Problems setting up Samba+LDAP PDC in Debian Sarge
    ... Integration test, when I added an admin user, got it on the "Domain ... SeMachineAccountPrivilege: ... to work using root nor Manager. ... uidNumber: 998 ...
    (Debian-User)
  • Re: Vista makes me crazy, please help.
    ... You obviously have not worked with systems other then windows - or you ... mainstream platform allows it's users to run as an admin by default. ... I don't use Linux or Mac. ... Any applications that need root access will usually prompt for a password. ...
    (microsoft.public.vb.general.discussion)
  • Re: Apple recommending anti-virus software for Macs?
    ... as root, but I have yet to see anyone explain _why_. ... You can tell whether you are an admin by pulling up SysPrefs->Accounts ... Two heads mean the group permission details. ... from your daily account splits into owner-users and company sysadmins, ...
    (comp.sys.mac.system)