Advisory Details

March 2nd, 2011

Apple iPhone Webkit Library Javascript Array sort Method Remote Code Execution Vulnerability

ZDI-11-101
ZDI-CAN-918

CVE ID CVE-2011-0154
CVSS SCORE 9.0, AV:N/AC:L/Au:N/C:P/I:P/A:C
AFFECTED VENDORS Apple
AFFECTED PRODUCTS WebKit
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['10849']. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apple's iPhone Webkit library. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the way the library implements the .sort function for an array. The library will trust the implementation of a particular method which when executed can be used to manipulate elements out from underneath it. This can lead to code execution under the context of the application.

ADDITIONAL DETAILS Apple has issued an update to correct this vulnerability. More details can be found at:
http://support.apple.com/kb/HT4554
DISCLOSURE TIMELINE
  • 2010-09-29 - Vulnerability reported to vendor
  • 2011-03-02 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES