Advisory Details

April 16th, 2008

Apple Safari WebKit PCRE Handling Integer Overflow Vulnerability

ZDI-08-022
ZDI-CAN-303

CVE ID CVE-2008-1026
CVSS SCORE
AFFECTED VENDORS Apple
AFFECTED PRODUCTS Safari
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['6031']. 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 Safari. User interaction is required to exploit this vulnerability in that the target must visit a malicious page.

The specific flaw exists in the regular expression compiler (JavaScriptCore/pcre/pcre_compile.cpp) in WebKit. When nesting regular expressions with large repetitions, a heap overflow occurs resulting in a condition allowing the execution of arbitrary code.

ADDITIONAL DETAILS Apple has issued an update to correct this vulnerability. More details can be found at:
http://support.apple.com/kb/HT1467
DISCLOSURE TIMELINE
  • 2008-03-27 - Vulnerability reported to vendor
  • 2008-04-16 - Coordinated public release of advisory
CREDIT Charlie Miller, Jake Honoroff and Mark Daniel
BACK TO ADVISORIES