Body Background
TrendAI™ Zero Day Initiative™ Logo

Apple Safari SVG Set.targetElement() Memory Corruption Vulnerability

June 8th, 2009

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apple Safari. User interaction is required to exploit this vulnerability in that the target must visit a malicious page.

The specific flaw exists in the garbage collection of JavaScript set elements in WebCore. When an SVG set object is appended to an SVG marker element that is dereferenced, calls to the targetElement attribute will fail to reference count the marker element. When the set element is appended to another object, subsequent calls to the targetElement attribute will result in a heap corruption which can be leveraged to execute arbitrary code under the context of the current user.

Additional Details

Apple has issued an update to correct this vulnerability. More details can be found at:
http://support.apple.com/kb/HT3613

Disclosure Timeline

  • 2008-11-10 - Vulnerability reported to vendor
  • 2009-06-08 - Coordinated public release of advisory

Credit

Anonymous

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.