Lucene search

K
zdiAnonymousVincenzo Iozzo, Willem Pinckaers, and Ralf-Philipp WeinmannZDI-11-104
HistoryApr 14, 2011 - 12:00 a.m.

(Pwn2Own) Webkit CSS Text Element Count Remote Code Execution Vulnerability

2011-04-1400:00:00
AnonymousVincenzo Iozzo, Willem Pinckaers, and Ralf-Philipp Weinmann
www.zerodayinitiative.com
18

0.338 Low

EPSS

Percentile

97.1%

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of 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 WebKit library’s implementation of a CSS style. When totaling the length of it’s string elements, the library will store the result into a 32bit integer. This value will be used for an allocation and then later will be used to initialize the allocated buffer. Due to the number of elements being totaled being variable, this will allow an aggressor to provide as many elements as necessary in order to cause the integer value to wrap causing an under-allocation. Initialization of this data will then cause a heap-based buffer overflow. This can lead to code execution under the context of the application.