TippingPoint Zero Day Initiative

Apple Safari Webkit Runin Remote Code Execution Vulnerability

ZDI-10-170: September 13th, 2010


CVSS Score

Affected Vendors

Affected Products

TippingPoint™ IPS Customer Protection

TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 10462. For further product information on the TippingPoint IPS:

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apple Safari's 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 library's support of an element containing the run-in property. When a block box is appended as the sibling of a run-in box, the run-in box will be promoted to the first inline box. This implies that the first inline box will be destroyed. Later when the application attempts to destroy this element, it will access memory that has been freed. If an attacker can substitute an alternate type in the element's place, the attacker will have code execution under the context of the application.

Vendor Response

Apple states:


Disclosure Timeline

    2010-06-17 - Vulnerability reported to vendor
    2010-09-13 - Coordinated public release of advisory


This vulnerability was discovered by:
    wushi of team509