Exploit database

Vulnerability

CVE-2006-0848

Vulnerability details

Score
Not available
Severity
Not available

Vector string

Not available

Description

The "Open 'safe' files after downloading" option in Safari on Apple Mac OS X allows remote user-assisted attackers to execute arbitrary commands by tricking a user into downloading a __MACOSX folder that contains metadata (resource fork) that invokes the Terminal, which automatically interprets the script using bash, as demonstrated using a ZIP file that contains a script with a safe file extension.

CVE Program

Some CVE details could not be loaded. They will be retried.

Exploit source choices

2 sources
Safari Archive Metadata Command Execution
MSF-osx--browser--safari_metadata_archiveMetasploitUnix / remote

This module exploits a vulnerability in Safari's "Safe file" feature, which will automatically open any file with one of the allowed extensions. This can be abused by supplying a zip file, containing a shell script, with a metafile indicating that the file should be opened by Terminal.app. This module depends on the 'zip' command-line utility.

2006-02-21safari_metadata_archive.rb