Body Background
TrendAI™ Zero Day Initiative™ Logo

Apple Webkit WholeText Integer Overflow Remote Code Execution Vulnerability

November 23rd, 2010

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apple Webkit. 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 wholeText method of the Text element. When calculating the total size of all the text containing it, the application will wrap a 32-bit integer. The application will use this in an allocation and then later use a different value for populating the buffer. This can lead to code execution under the context of the application.

Additional Details

iOS 4.2: http://support.apple.com/kb/HT4456


Disclosure Timeline

  • 2010-08-12 - Vulnerability reported to vendor
  • 2010-11-23 - Coordinated public release of advisory

Credit

J23 (http://twitter.com/HansJ23)

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.