CVE-2006-0848 Code injection in n/a

Medium 5.1 Published Updated

Remote attackers can execute arbitrary commands by tricking users into downloading malicious ZIP files containing resource forks that invoke Terminal, requiring the 'Open safe files' option to be enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2006-0848?

CVE-2006-0848 is a medium-severity code injection vulnerability in Apple Mac Os X, published on 22 Feb 2006. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-16

Which versions are affected by CVE-2006-0848?

It affects 2 products.

Products include Apple Mac Os X, Apple Mac Os X Server.

How do I fix CVE-2006-0848?

No fix has been published for CVE-2006-0848 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2006-0848 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-0848 exists.

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

All Apple Mac Os X vulnerabilities

Sources

Also known as CVE-2006-0394, GHSA-pgr2-c4h8-5r6j.

Is CVE-2006-0848 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free