TippingPoint Zero Day Initiative
 

Mozilla Firefox String Replacement Heap Corruption Remote Code Execution Vulnerability

ZDI-13-003: February 1st, 2013

CVE ID

CVSS Score

Affected Vendors

Affected Products

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 or open a malicious file.

The specific flaw exists within the way Mozilla Firefox handles the concatenation of strings. By causing concatenation of specially crafted strings, an integer overflow may occur resulting in an undersized allocation. Subsequent use of this undersized memory allocation results in memory corruption, which may be exploited by an attacker to gain remote code execution.

Vendor Response

Mozilla has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2012-10-24 - Vulnerability reported to vendor
    2013-02-01 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    pa_kt / twitter.com/pa_kt