vendor:
Mac OS X
by:
joev
7,8
CVSS
HIGH
Applescript Exec Attack
94
CWE
Product Name: Mac OS X
Affected Version From: Mac OS X
Affected Version To: Mac OS X
Patch Exists: YES
Related CWE: CVE-2015-7007
CPE: o:apple:mac_os_x
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Unix, OSX
2015
Safari User-Assisted Applescript Exec Attack
In versions of Mac OS X before 10.11.1, the applescript:// URL scheme is provided, which opens the provided script in the Applescript Editor. Pressing cmd-R in the Editor executes the code without any additional confirmation from the user. By getting the user to press cmd-R in Safari, and by hooking the cmd-key keypress event, a user can be tricked into running arbitrary Applescript code. Gatekeeper should be disabled from Security & Privacy in order to avoid the unidentified Developer prompt.
Mitigation:
Disable Gatekeeper from Security & Privacy in order to avoid the unidentified Developer prompt.