Firefox 3.0.x < 3.0.5 Multiple Vulnerabilities

2008-12-17T00:00:00
ID MOZILLA_FIREFOX_305.NASL
Type nessus
Reporter Tenable
Modified 2018-07-16T00:00:00

Description

The installed version of Firefox 3.0 is earlier than 3.0.5. Such versions are potentially affected by the following security issues :

  • There are several stability bugs in the browser engine that may lead to crashes with evidence of memory corruption. (MFSA 2008-60)

  • The 'persist' attribute in XUL elements can be used to store cookie-like information on a user's computer. (MFSA 2008-63)

  • Sensitive data may be disclosed in an XHR response when an XMLHttpRequest is made to a same-origin resource, which 302 redirects to a resource in a different domain. (MFSA 2008-64)

  • A website may be able to access a limited amount of data from a different domain by loading a same-domain JavaScript URL that redirects to an off-domain target resource containing data which is not parsable as JavaScript. (MFSA 2008-65)

  • Errors arise when parsing URLs with leading whitespace and control characters. (MFSA 2008-66)

  • An escaped null byte is ignored by the CSS parser and treated as if it was not present in the CSS input string. (MFSA 2008-67)

  • XSS and JavaScript privilege escalation are possible. (MFSA 2008-68)

  • XSS vulnerabilities in SessionStore may allow for violating the browser's same-origin policy and performing an XSS attack or running arbitrary JavaScript with chrome privileges. (MFSA 2008-69)

  • Creating a Select object with a very large length can result in memory exhaustion, causing a denial of service. (CVE-2009-2535)

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


include("compat.inc");

if (description)
{
  script_id(35219);
  script_version("1.15");

  script_cve_id(
    "CVE-2008-5500", 
    "CVE-2008-5501", 
    "CVE-2008-5502", 
    "CVE-2008-5505", 
    "CVE-2008-5506",
    "CVE-2008-5507", 
    "CVE-2008-5508", 
    "CVE-2008-5510", 
    "CVE-2008-5511", 
    "CVE-2008-5512",
    "CVE-2008-5513", 
    "CVE-2009-2535"
  );
  script_bugtraq_id(32882, 35446);

  script_name(english:"Firefox 3.0.x < 3.0.5 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 affected by
multiple vulnerabilities." );
 script_set_attribute(attribute:"description", value:
"The installed version of Firefox 3.0 is earlier than 3.0.5.  Such
versions are potentially affected by the following security issues :

  - There are several stability bugs in the browser engine
    that may lead to crashes with evidence of memory 
    corruption. (MFSA 2008-60)

  - The 'persist' attribute in XUL elements can be used to
    store cookie-like information on a user's computer.
    (MFSA 2008-63)

  - Sensitive data may be disclosed in an XHR response when
    an XMLHttpRequest is made to a same-origin resource,
    which 302 redirects to a resource in a different 
    domain. (MFSA 2008-64)

  - A website may be able to access a limited amount of 
    data from a different domain by loading a same-domain 
    JavaScript URL that redirects to an off-domain target
    resource containing data which is not parsable as 
    JavaScript. (MFSA 2008-65)

  - Errors arise when parsing URLs with leading whitespace
    and control characters. (MFSA 2008-66)

  - An escaped null byte is ignored by the CSS parser and 
    treated as if it was not present in the CSS input 
    string. (MFSA 2008-67)

  - XSS and JavaScript privilege escalation are possible.
    (MFSA 2008-68)

  - XSS vulnerabilities in SessionStore may allow for
    violating the browser's same-origin policy and 
    performing an XSS attack or running arbitrary 
    JavaScript with chrome privileges. (MFSA 2008-69)

  - Creating a Select object with a very large length can
    result in memory exhaustion, causing a denial of
    service. (CVE-2009-2535)" );
 script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2008-60/" );
 script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2008-63/" );
 script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2008-64/" );
 script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2008-65/" );
 script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2008-66/" );
 script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2008-67/" );
 script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2008-68/" );
 script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2008-69/" );
 script_set_attribute(attribute:"see_also", value:"http://www.securityfocus.com/archive/1/504969/100/0/threaded" );
 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9e442733" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to Firefox 3.0.5 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:POC/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_cwe_id(20, 79, 189, 200, 264, 399);

 script_set_attribute(attribute:"plugin_publication_date", value: "2008/12/17");
 script_set_attribute(attribute:"patch_publication_date", value: "2008/12/16");
 script_cvs_date("Date: 2018/07/16 14:09:14");
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) 2008-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:'3.0.5', min:'3.0', severity:SECURITY_HOLE);