‘Apple OfficeImport Framework Excel Memory Corruption Vulnerability’
‘The information has been provided by Tobias Klein.
The original article can be found at: http://labs.idefense.com/intelligence/vulnerabilities/display.php?%20%20%20id=898‘
* iPod Touch IOS 3.1.3
* iPad IOS 3.2.2
* Mac OS X versions 10.6 through 10.6.6
* Mac OS X Server versions 10.6 through 10.6.6
The vulnerability occurs when parsing an Excel file with a certain maliciously constructed record. This record is used to describe a formula that is shared between multiple cells. In this record, the ‘formula’ field is used to specify the formula used. By corrupting certain opcodes within this formula it is possible to trigger a memory corruption vulnerability. This can lead to the execution of arbitrary code.
Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the user opening the file. To exploit this vulnerability, an attacker has several attack vectors. The most dangerous vector is through MobileSafari, which will automatically open and parse Office files embedded in Web pages. This behavior is similar to Microsoft Office 2000 in that it enables drive-by style attacks without any user-interaction beyond visiting a Web page (no file open dialog is displayed, the file is simply opened). Additionally, an attacker can e-mail a targeted user and attach a malicious file. The user will then have to view the e-mail and attachment with MobileMail to trigger the vulnerability.
Apple Inc. has released patches which addresses this issue. For more information, consult their advisory at the following URL:
01/07/2011 Initial Vendor Notification
01/07/2011 Initial Vendor Reply
03/21/2011 Coordinated Public Disclosure’