WebKit contains a use-after-free error in the 'HTMLParser::handleResidualStyleCloseTagAcrossBlocks' function in WebCore/html/HTMLParser.cpp when handling misnested residual style tags. With a specially crafted web page, a context-dependent attacker can dereference already freed memory and potentially execute arbitrary code.
Classification
Location:
Context Dependent
Attack Type:
Input Manipulation
Impact:
Loss of Integrity
Solution:
Upgrade
Exploit:
PoC Public
Disclosure:
Vendor Verified,
Coordinated Disclosure
OSVDB:
Web Related
Solution
It has been reported that this issue has been fixed. Upgrade to version 1.2.0, or higher, to address this vulnerability.
Upgrade to Apple Safari version 4.0.5 or higher, as it has been reported to fix this vulnerability. The vulnerability may also have been silently fixed in Google Chrome version 4.0.249.78. An upgrade is required as there are no known workarounds.