Rapid7 Vulnerability & Exploit Database

Mac OS X Safari .webarchive File Format UXSS

Back to Search

Mac OS X Safari .webarchive File Format UXSS

Disclosed
02/22/2013
Created
05/30/2018

Description

Generates a .webarchive file for Mac OS X Safari that will attempt to inject cross-domain Javascript (UXSS), silently install a browser extension, collect user information, steal the cookie database, and steal arbitrary local files. When opened on the target machine the webarchive file must not have the quarantine attribute set, as this forces the webarchive to execute in a sandbox.

Author(s)

  • joev <joev@metasploit.com>

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/apple_safari_webarchive_uxss
msf auxiliary(apple_safari_webarchive_uxss) > show actions
    ...actions...
msf auxiliary(apple_safari_webarchive_uxss) > set ACTION < action-name >
msf auxiliary(apple_safari_webarchive_uxss) > show options
    ...show and set options...
msf auxiliary(apple_safari_webarchive_uxss) > 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

;