Firefox ESR 17.x < 17.0.4 nsHTMLEditor Use-After-Free (Mac OS X)

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

The remote Mac OS X host contains a web browser that is potentially
affected by a use-after-free vulnerability.

Description :

The installed version of Firefox ESR 17.x is earlier than 17.0.4 and
thus, is potentially affected by a use-after-free vulnerability.

An error exists in the HTML editor (nsHTMLEditor) related to content
script and the calling of the function 'document.execCommand' while
internal editor operations are running. The previously freed memory can
be dereferenced and could lead to arbitrary code execution.

See also :

http://www.securityfocus.com/archive/1/526050/30/0/threaded
http://www.zerodayinitiative.com/advisories/ZDI-13-090/
http://www.mozilla.org/security/announce/2013/mfsa2013-29.html

Solution :

Upgrade to Firefox 17.0.4 ESR or later.

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.1
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: MacOS X Local Security Checks

Nessus Plugin ID: 65128 ()

Bugtraq ID: 58391

CVE ID: CVE-2013-0787