Firefox 8.x Multiple Vulnerabilities (Mac OS X) - Nessus

High   Plugin ID: 57359

This page contains detailed information about the Firefox 8.x Multiple Vulnerabilities (Mac OS X) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 57359
Name: Firefox 8.x Multiple Vulnerabilities (Mac OS X)
Filename: macosx_firefox_9_0.nasl
Vulnerability Published: 2011-12-20
This Plugin Published: 2011-12-21
Last Modification Time: 2018-07-16
Plugin Version: 1.21
Plugin Type: local
Plugin Family: MacOS X Local Security Checks
Dependencies: macosx_firefox_installed.nasl
Required KB Items [?]: MacOSX/Firefox/Installed

Vulnerability Information


Severity: High
Vulnerability Published: 2011-12-20
Patch Published: 2011-12-20
CVE [?]: CVE-2011-3658, CVE-2011-3660, CVE-2011-3661, CVE-2011-3663, CVE-2011-3664, CVE-2011-3665, CVE-2011-3671
CPE [?]: cpe:/a:mozilla:firefox
Exploited by Malware: True

Synopsis

The remote Mac OS X host contains a web browser that is potentially affected by several vulnerabilities.

Description

The installed version of Firefox 8.x is potentially affected by the following security issues :

- An out-of-bounds memory access error exists in the 'SVG' implementation and can be triggered when 'SVG' elements are removed during a 'DOMAttrModified' event handler. (CVE-2011-3658)

- Various memory safety errors exist that can lead to memory corruption and possible code execution. (CVE-2011-3660)

- An error exists in the 'YARR' regular expression library that can cause application crashes when handling certain JavaScript statements. (CVE-2011-3661)

- It is possible to detect keystrokes using 'SVG' animation 'accesskey' events even when JavaScript is disabled. (CVE-2011-3663)

- An error exists related to plugins that can allow a NULL pointer to be dereferenced when a plugin deletes its containing DOM frame during a call from that frame. It may be possible for a non-NULL pointer to be dereferenced thereby opening up the potential for further exploitation. (CVE-2011-3664)

- It is possible to crash the application when 'OGG' 'video' elements are scaled to extreme sizes. (CVE-2011-3665)

- A use-after-free error exists related to the function 'nsHTMLSelectElement' that can allow arbitrary code execution during operations such as removal of a parent node of an element. (CVE-2011-3671)

Solution

Upgrade to Firefox 9.0 or later.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Immunity Canvas)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Firefox 8.x Multiple Vulnerabilities (Mac OS X) vulnerability:

  1. Metasploit: exploit/windows/browser/mozilla_nssvgvalue
    [Firefox nsSVGValue Out-of-Bounds Access Vulnerability]
  2. Exploit-DB: exploits/windows/remote/18847.rb
    [EDB-18847: Mozilla Firefox 7 / 8 < 8.0.1 - nsSVGValue Out-of-Bounds Access (Metasploit)]
  3. Immunity Canvas: CANVAS

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:M/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:8.1 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.1 (High)

Go back to menu.

Plugin Source


This is the macosx_firefox_9_0.nasl nessus plugin source code. This script is Copyright (C) 2011-2018 Tenable Network Security, Inc.

#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(57359);
  script_version("1.21");
  script_cvs_date("Date: 2018/07/16 12:48:31");

  script_cve_id(
    "CVE-2011-3658",
    "CVE-2011-3660",
    "CVE-2011-3661",
    "CVE-2011-3663",
    "CVE-2011-3664",
    "CVE-2011-3665",
    "CVE-2011-3671"
  );
  script_bugtraq_id(51133, 51134, 51135, 51136, 51137, 51138, 54080);

  script_name(english:"Firefox 8.x Multiple Vulnerabilities (Mac OS X)");
  script_summary(english:"Checks version of Firefox");

  script_set_attribute(attribute:"synopsis", value:
"The remote Mac OS X host contains a web browser that is potentially
affected by several vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The installed version of Firefox 8.x is potentially affected by the
following security issues :

  - An out-of-bounds memory access error exists in the
    'SVG' implementation and can be triggered when 'SVG'
    elements are removed during a 'DOMAttrModified' event
    handler. (CVE-2011-3658)

  - Various memory safety errors exist that can lead to
    memory corruption and possible code execution.
    (CVE-2011-3660)

  - An error exists in the 'YARR' regular expression
    library that can cause application crashes when
    handling certain JavaScript statements. (CVE-2011-3661)

  - It is possible to detect keystrokes using 'SVG'
    animation 'accesskey' events even when JavaScript is
    disabled. (CVE-2011-3663)

  - An error exists related to plugins that can allow a NULL
    pointer to be dereferenced when a plugin deletes its 
    containing DOM frame during a call from that frame. It
    may be possible for a non-NULL pointer to be 
    dereferenced thereby opening up the potential for
    further exploitation. (CVE-2011-3664)

  - It is possible to crash the application when 'OGG'    
    'video' elements are scaled to extreme sizes.
    (CVE-2011-3665)

  - A use-after-free error exists related to the function
    'nsHTMLSelectElement' that can allow arbitrary code
    execution during operations such as removal of a
    parent node of an element. (CVE-2011-3671)");

  script_set_attribute(attribute:"see_also", value:"http://www.zerodayinitiative.com/advisories/ZDI-12-128/");
  script_set_attribute(attribute:"see_also", value:"http://www.securityfocus.com/archive/1/523754/30/0/threaded");
  script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2012-41/");
  script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2011-53/");
  script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2011-54/");
  script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2011-55/");
  script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2011-56/");
  script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2011-57/");
  script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2011-58/");
  script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=739343");

  script_set_attribute(attribute:"solution", value:"Upgrade to Firefox 9.0 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Firefox nsSVGValue Out-of-Bounds Access Vulnerability');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:'CANVAS');
script_set_attribute(attribute:"vuln_publication_date", value:"2011/12/20");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/12/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/12/21");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:mozilla:firefox");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"MacOS X Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc.");

  script_dependencies("macosx_firefox_installed.nasl");
  script_require_keys("MacOSX/Firefox/Installed");

  exit(0);
}

include("mozilla_version.inc");
kb_base = "MacOSX/Firefox";
get_kb_item_or_exit(kb_base+"/Installed");

version = get_kb_item_or_exit(kb_base+"/Version", exit_code:1);
path = get_kb_item_or_exit(kb_base+"/Path", exit_code:1);

mozilla_check_version(product:'firefox', version:version, path:path, esr:FALSE, fix:'9.0', skippat:'^3\\.6\\.', severity:SECURITY_HOLE);

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/macosx_firefox_9_0.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\macosx_firefox_9_0.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/macosx_firefox_9_0.nasl

Go back to menu.

How to Run


Here is how to run the Firefox 8.x Multiple Vulnerabilities (Mac OS X) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select MacOS X Local Security Checks plugin family.
  6. On the right side table select Firefox 8.x Multiple Vulnerabilities (Mac OS X) plugin ID 57359.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl macosx_firefox_9_0.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a macosx_firefox_9_0.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - macosx_firefox_9_0.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state macosx_firefox_9_0.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 57355 - FreeBSD : mozilla -- multiple vulnerabilities (e3ff776b-2ba6-11e1-93c6-0011856a6e37)
  • 63402 - GLSA-201301-01 : Mozilla Products: Multiple vulnerabilities (BEAST)
  • 57361 - Thunderbird 8.x Multiple Vulnerabilities (Mac OS X)
  • 61940 - Mandriva Linux Security Advisory : mozilla (MDVSA-2011:192)
  • 57351 - Firefox < 9.0 Multiple Vulnerabilities
  • 57352 - Mozilla Thunderbird < 9.0 Multiple Vulnerabilities
  • 74515 - openSUSE Security Update : MozillaFirefox / MozillaThunderbird / seamonkey / etc (openSUSE-2011-101)
  • 74574 - openSUSE Security Update : MozillaFirefox / MozillaThunderbird (openSUSE-SU-2012:0417-1)
  • 74612 - openSUSE Security Update : MozillaFirefox / MozillaThunderbird / seamonkey / etc (openSUSE-SU-2012:0567-1)
  • 57353 - SeaMonkey < 2.6.0 Multiple Vulnerabilities
  • 75744 - openSUSE Security Update : seamonkey (openSUSE-SU-2012:0007-1)
  • 75950 - openSUSE Security Update : MozillaFirefox (openSUSE-SU-2012:0039-2)
  • 76025 - openSUSE Security Update : seamonkey (openSUSE-SU-2012:0007-1)
  • 57457 - Ubuntu 11.04 / 11.10 : firefox vulnerabilities (USN-1306-1)
  • 57458 - Ubuntu 11.04 / 11.10 : mozvoikko, ubufox update (USN-1306-2)
  • 57686 - Ubuntu 11.10 : thunderbird vulnerabilities (USN-1343-1)
  • 58397 - Ubuntu 10.04 LTS / 10.10 : xulrunner-1.9.2 vulnerabilities (USN-1401-1)
  • 58481 - Ubuntu 10.04 LTS / 10.10 / 11.04 : thunderbird vulnerabilities (USN-1401-2)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file macosx_firefox_9_0.nasl version 1.21. For more plugins, visit the Nessus Plugin Library.

Go back to menu.