Lucene search

K
nessusThis script is Copyright (C) 2011-2018 Tenable Network Security, Inc.MOZILLA_FIREFOX_90.NASL
HistoryDec 20, 2011 - 12:00 a.m.

Firefox < 9.0 Multiple Vulnerabilities

2011-12-2000:00:00
This script is Copyright (C) 2011-2018 Tenable Network Security, Inc.
www.tenable.com
13

The installed version of Firefox is earlier than 9.0 and thus, 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)

  • 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)

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

include("compat.inc");

if (description)
{
  script_id(57351);
  script_version("1.25");
  script_cvs_date("Date: 2018/11/15 20:50:27");

  script_cve_id(
    "CVE-2011-3658",
    "CVE-2011-3660",
    "CVE-2011-3661",
    "CVE-2011-3663",
    "CVE-2011-3665",
    "CVE-2011-3671"
  );
  script_bugtraq_id(
    51133,
    51134,
    51135,
    51136,
    51138,
    54080
  );
  script_xref(name:"EDB-ID", value:"18847");

  script_name(english:"Firefox < 9.0 Multiple Vulnerabilities");
  script_summary(english:"Checks version of Firefox");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host contains a web browser that is potentially
affected by several vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The installed version of Firefox is earlier than 9.0 and thus, 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)

  - 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:"https://www.zerodayinitiative.com/advisories/ZDI-12-056/");
  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/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-58/");
  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://bugzilla.mozilla.org/show_bug.cgi?id=739343");

  script_set_attribute(attribute:"solution", value:"Upgrade to Firefox 9 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/20");

  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:"Windows");

  script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc.");
  script_dependencies("mozilla_org_installed.nasl");
  script_require_keys("Mozilla/Firefox/Version");

  exit(0);
}

include("mozilla_version.inc");
port = get_kb_item_or_exit("SMB/transport"); 

installs = get_kb_list("SMB/Mozilla/Firefox/*");
if (isnull(installs)) audit(AUDIT_NOT_INST, "Firefox");

mozilla_check_version(installs:installs, product:'firefox', esr:FALSE, fix:'9.0', skippat:'^3\\.6\\.', severity:SECURITY_HOLE);
VendorProductVersionCPE
mozillafirefoxcpe:/a:mozilla:firefox

References