Public Vulnerability Reports

Apple Safari RenderBox Memory Corruption Vulnerability

20.07.11

BACKGROUND

Safari is Apple's web browser, and is based on the open source WebKit browser engine. For more information about Safari, please the visit following website:

http://www.apple.com/safari/

DESCRIPTION

Remote exploitation of a memory corruption vulnerability in Apple Inc.'s Safari browser could allow an attacker to execute arbitrary code with the privileges of the current user.

This vulnerability occurs when handling elements that have been appended to multiple parent elements. Specifically, Safari fails to properly remove a stale reference to a rendering object. When this occurs, the object is eventually freed twice. This results in uninitialized heap memory being treated as an object pointer, which can result in the execution of arbitrary code.

ANALYSIS

Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the user viewing the Web page. To exploit this vulnerability, a targeted user must load a malicious Web page created by an attacker. An attacker typically accomplishes this via social engineering or injecting content into compromised, trusted sites. After the user visits the malicious Web page, no further user interaction is needed.

DETECTION

The following Apple products are vulnerable:

  • Safari 5.0.5 and 5.0
  • iTunes 10.2.2
  • WORKAROUND

    iDefense is currently unaware of any workaround for this issue.

    VENDOR RESPONSE

    Apple has released fixes which addresses this issue. Information about downloadable vendor updates can be found by clicking on the URLs shown.

    http://www.apple.com/safari/download/ http://www.apple.com/itunes/

    CVE INFORMATION

    The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2011-0237 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.

    DISCLOSURE TIMELINE

    06/01/2011 Initial Vendor Notification
    06/01/2011 Vendor Reply
    07/20/2011 Coordinated Public Disclosure

    CREDIT

    This vulnerability was reported to iDefense by wushi of team509.

    Get paid for vulnerability research
    http://labs.idefense.com/methodology/vulnerability/vcp.php

    Free tools, research and upcoming events
    http://labs.idefense.com/

    LEGAL NOTICES

    Copyright © 2011 Verisign, Inc.

    Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

    Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.