Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: David Cantrell (d.cantrelloutcometechnologies.com)
Date: Tue May 15 2007 - 17:15:26 CDT
the attacker be on the local console. To run Applescript while logged
inremotely using ssh, you can use the 'osascript' utility.
It works for:
the same user using ssh as is on the console;
the root user using ssh (or someone who can sudo) can inject
a different non-root user on the console can do it too
That last one is particularly worrying, although I've not taken the time
to figure out precisely what works and what doesn't. My test was to
simply open a Terminal and 'su - foo' before using osascript, but it
might, for instance, be exploitable by a setuid application.
At first glance, Firefox doesn't seem to be vulnerable (although I'm far
from being an Applescript expert) to exactly this attack, but it does
expose at least *some* functionality to Applescript.