Rapid7 Vulnerability & Exploit Database

Mac OS X Safari file:// Redirection Sandbox Escape

Back to Search

Mac OS X Safari file:// Redirection Sandbox Escape

Disclosed
01/16/2014
Created
05/30/2018

Description

Versions of Safari before 8.0.6, 7.1.6, and 6.2.6 are vulnerable to a "state management issue" that allows a browser window to be navigated to a file:// URL. By dropping and loading a malicious .webarchive file, an attacker can read arbitrary files, inject cross-domain Javascript, and silently install Safari extensions.

Author(s)

  • joev <joev@metasploit.com>

Platform

OSX

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/gather/safari_file_url_navigation
msf auxiliary(safari_file_url_navigation) > show actions
    ...actions...
msf auxiliary(safari_file_url_navigation) > set ACTION < action-name >
msf auxiliary(safari_file_url_navigation) > show options
    ...show and set options...
msf auxiliary(safari_file_url_navigation) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;