Integer Overflow in XSLT Node Sorting

Related Vulnerabilities: CVE-2010-1199  

Mozilla Foundation Security Advisory 2010-30

Integer Overflow in XSLT Node Sorting

Announced
June 22, 2010
Reporter
Martin Barbella (via TippingPoint's Zero Day Initiative)
Impact
Critical
Products
Firefox, SeaMonkey, Thunderbird
Fixed in
  • Firefox 3.5.10
  • Firefox 3.6.4
  • SeaMonkey 2.0.5
  • Thunderbird 3.0.5

Description

Security researcher Martin Barbella reported via TippingPoint's Zero Day Initiative that an XSLT node sorting routine contained an integer overflow vulnerability. In cases where one of the nodes to be sorted contained a very large text value, the integer used to allocate a memory buffer to store its value would overflow, resulting in too small a buffer being created. An attacker could use this vulnerability to write data past the end of the buffer, causing the browser to crash and potentially running arbitrary code on a victim's computer.

References