Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

Re: Re: Apple Remote Desktop root vulneravility

Subject: Re: Re: Apple Remote Desktop root vulneravility
Date: 26 Sep 2006 18:24:32 -0000
This is not so much a vulnerability as an oversight.  Who's oversight is up to 
you, but if you run a process remotely as root, and it has a GUI, then the GUI 
will appear on the screen, as a root process.  This usually involves a menubar, 
adn thereby access to System Preferences.  An easy demonstration is using SSH 
to log into a box, sudo -s to get a root shell, and execute ANY program in the 
applications directory (open -a Safari).  You'll get Safari and access to the 
menubar with the login window appearing as a hinderance.  This isn't anything 
new, the guy's using RADMIND have been fighting it since 10.4 came out and 
redid the way the system handles the login window at startup.  On the automated 
side, applicatiosn like iHook have created a very nice work around for this.  
At the ARD end, the lock screen function does this well enough.  Its merely a 
matter of testing deployment on a machine you have physical access to before 
shoving it down to x-number of computers.  

This is something John Welch (bynkii.com) harped about this spring.  Its shoddy 
design on many App Designers by not giving a proper remote installer or pkg 
file that can execute silently.  Whether or not this is something Apple needs 
to fix, that's up for debate.  They are not necessairly in the wrong here, 
regardless of how much it may appear to be an obvious security flaw.  Maybe 
they should check to see if the LoginWindow is displayed before allowing a gui 
app to run with root priviledges, but after debating this issue enough i've 
come to the conclusion that Apple, the programmers, and the administrators, are 
all at fault at some level. 

<Prev in Thread] Current Thread [Next in Thread>