Advisory Details

July 17th, 2008

Mozilla Firefox CSSValue Array Memory Corruption Vulnerability

ZDI-08-044
ZDI-CAN-349

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

The specific flaw exists in the browser's handling reference counters to the nsCSSValue:Array class. Creating more then 65,535 references will overflow a 16-bit reference counter and therefore result in an erroneous free() while the object still exists. Properly manipulated this can result in arbitrary code execution under the context of the current user.

ADDITIONAL DETAILS Mozilla Firefox has issued an update to correct this vulnerability. More details can be found at:
http://www.mozilla.org/security/announce/2008/mfsa2008-34.html
DISCLOSURE TIMELINE
  • 2008-06-17 - Vulnerability reported to vendor
  • 2008-07-17 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES