Lucene search
K

Mozilla Firefox Information Disclosure Vulnerability (Windows)

🗓️ 21 Sep 2010 00:00:00Reported by Copyright (c) 2010 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

The host is installed with Mozilla Firefox and is prone to Information Disclosure Vulnerability. Successful exploitation may result in attackers bypassing the same-origin policy and obtaining potentially sensitive information. The vulnerability affects Firefox versions 3.5.10 through 3.5.11, 3.6.4 through 3.6.8, and 4.0 Beta1. The flaws are due to errors in the 'Math.random' and 'js_InitRandom' functions in the JavaScript implementation, making it easier for remote attackers to guess the seed value. The solution is to upgrade to Mozilla Firefox version 3.6.9 or later, 3.5.12 or later, or 4.0 Beta-2 or later

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_mozilla_firefox_info_disc_vuln_win.nasl 5394 2017-02-22 09:22:42Z teissa $
#
# Mozilla Firefox Information Disclosure Vulnerability (Windows)
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2010 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation will let attackers to bypass the same-origin policy
  and obtain potentially sensitive information; other attacks are possible.
  Impact Level: Application";
tag_affected = "Firefox version 3.5.10 through 3.5.11
  Firefox version 3.6.4 through 3.6.8 and 4.0 Beta1";
tag_insight = "The flaws are due to:
  - Error in 'Math.random' function in the JavaScript implementation which uses
    a random number generator that is seeded only once per document object, which
    makes it easier for remote attackers to track a user, or trick a user into
    acting upon a spoofed pop-up message, by calculating the seed value.
  - Error in 'js_InitRandom' function in the JavaScript implementation uses a
    context pointer in conjunction with its successor pointer for seeding of a
    random number generator, which makes it easier for remote attackers to guess
    the seed value via a brute-force attack.";
tag_solution = "Upgrade to Mozilla Firefox version 3.6.9 or later, 3.5.12 or later,
        4.0 Beta-2 or later
  For updates refer to http://www.mozilla.com/en-US/firefox/all.html
                         http://www.mozilla.com/en-US/firefox/all-beta.html";
tag_summary = "The host is installed with Mozilla Firefox and is prone to Information
  Disclosure Vulnerability.";

if(description)
{
  script_id(902305);
  script_version("$Revision: 5394 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-22 10:22:42 +0100 (Wed, 22 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-09-21 16:43:08 +0200 (Tue, 21 Sep 2010)");
  script_cve_id("CVE-2010-3171", "CVE-2010-3399");
  script_tag(name:"cvss_base", value:"5.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:N");
  script_name("Mozilla Firefox Information Disclosure Vulnerability (Windows)");
  script_xref(name : "URL" , value : "http://archives.neohapsis.com/archives/bugtraq/2010-09/0117.html");
  script_xref(name : "URL" , value : "http://www.trusteer.com/sites/default/files/Cross_domain_Math_Random_leakage_in_FF_3.6.4-3.6.8.pdf");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2010 SecPod");
  script_family("General");
  script_dependencies("gb_firefox_detect_win.nasl");
  script_require_keys("Firefox/Win/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("version_func.inc");

# Firefox Check
ffVer = get_kb_item("Firefox/Win/Ver");
if(ffVer)
{
  # Grep for Firefox version 3.5.10 through 3.5.11, 3.6.4 through 3.6.8, and 4.0 Beta1
  if(version_in_range(version:ffVer, test_version:"3.5.10", test_version2:"3.5.11")||
     version_in_range(version:ffVer, test_version:"3.6.4", test_version2:"3.6.8")||
     version_is_equal(version:ffVer, test_version:"4.0.b1")){
     security_message(0);
  }
}


Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation