Re: Applescript vulnerability



In article <uce-41199D.14343319062008@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Gregory Weston <uce@xxxxxxxxxx> wrote:

I suspect Dave's intention was to point out that the exploit worked on
his machine *despite* the fact that root logins are disabled. That this
condition was not a viable defense.

You can get to the root account thus:

[~]$ sudo su
Password:
sh-3.2# whoami
root
sh-3.2#

on almost any unixish machine, including OS X, with or without the root
account "enabled." This isn't as exploitable as the Slashdotted thing,
because you need an admin account with a password ... hang on ... nope,
that doesn't work from the Guest account but

[~]$ osascript -e 'tell app "ARDAgent" to do shell script "whoami"'

absolutely works. Ouch. The Guest account is there to give physical
access to people you don't particularly trust, no? So anyone with a
small knowledge of Applescript and unix commands has you by the short
and curlies.
--
W. Oates
.



Relevant Pages

  • Re: user privledges
    ... > redhat 7.2 i created a user account for myself to use on a daily basis. ... > fare i have just been su - and entering the root pass. ... it started but would not install because i did ... sofware to /opt/musicmatch as a normal user. ...
    (comp.security.unix)
  • Re: Alerting - Malicious software removal tool
    ... >needed to install an application that she could not install from ... >"Administrator" account. ... You failed to analyze the root cause and correct it ... use their computers to have fun. ...
    (microsoft.public.security.virus)
  • Re: hi all..
    ... And with sudo, I certainly wouldn't because they already have root. ... If you somehow had access to my account right now, ... install an effective key logger without root. ...
    (Fedora)
  • Re: cant login as root
    ... > The only reason they don't have a local account is they were too lazy to ... If you're root you create and maintain a user account. ... local root accounts are themselves a hazard. ...
    (comp.os.linux.setup)
  • Re: hi all..
    ... and someone gets access your shell account, ... Only root can install an su binary. ... Of course, if I have sudo ...
    (Fedora)