Lucene search

K
openvasCopyright (C) 2012 Greenbone Networks GmbHOPENVAS:1361412562310802869
HistoryJun 19, 2012 - 12:00 a.m.

Mozilla Products 'jsinfer.cpp' Denial of Service Vulnerability (Windows)

2012-06-1900:00:00
Copyright (C) 2012 Greenbone Networks GmbH
plugins.openvas.org
7

0.041 Low

EPSS

Percentile

91.2%

This host is installed with Mozilla firefox/thunderbird and is prone to
denial of service vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
#
# Mozilla Products 'jsinfer.cpp' Denial of Service Vulnerability (Windows)
#
# Authors:
# Rachana Shetty <[email protected]>
#
# Copyright:
# Copyright (C) 2012 Greenbone Networks GmbH, http://www.greenbone.net
#
# 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.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.802869");
  script_version("2020-04-22T10:27:30+0000");
  script_cve_id("CVE-2012-1939");
  script_bugtraq_id(53797);
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2020-04-22 10:27:30 +0000 (Wed, 22 Apr 2020)");
  script_tag(name:"creation_date", value:"2012-06-19 15:21:15 +0530 (Tue, 19 Jun 2012)");
  script_name("Mozilla Products 'jsinfer.cpp' Denial of Service Vulnerability (Windows)");

  script_xref(name:"URL", value:"http://secunia.com/advisories/49368");
  script_xref(name:"URL", value:"http://secunia.com/advisories/49366");
  script_xref(name:"URL", value:"http://securitytracker.com/id/1027120");
  script_xref(name:"URL", value:"http://www.mozilla.org/security/announce/2012/mfsa2012-34.html");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2012 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("gb_firefox_detect_portable_win.nasl", "gb_thunderbird_detect_portable_win.nasl");
  script_mandatory_keys("Mozilla/Firefox_or_Seamonkey_or_Thunderbird/Installed");
  script_tag(name:"impact", value:"Successful exploitation could allow attackers to execute arbitrary code in
  the context of the browser or cause a denial of service.");
  script_tag(name:"affected", value:"Thunderbird ESR version 10.x before 10.0.5,
  Mozilla Firefox ESR version 10.x before 10.0.5 on Windows");
  script_tag(name:"insight", value:"The 'jsinfer.cpp' function in ESR versions fails to determine data types,
  which allows to cause a denial of service via crafted JavaScript code.");
  script_tag(name:"summary", value:"This host is installed with Mozilla firefox/thunderbird and is prone to
  denial of service vulnerability.");
  script_tag(name:"solution", value:"Upgrade to Mozilla Firefox ESR version 10.0.5 or later, upgrade to Mozilla Thunderbird ESR version 10.0.5 or later.");
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");


  script_xref(name:"URL", value:"http://www.mozilla.org/en-US/thunderbird/");

  exit(0);
}

include("version_func.inc");

ffVer = get_kb_item("Firefox/Win/Ver");
if(ffVer)
{
  if(version_in_range(version:ffVer, test_version:"10.0", test_version2:"10.0.4"))
  {
    report = report_fixed_ver(installed_version:ffVer, vulnerable_range:"10.0 - 10.0.4");
    security_message(port:0, data:report);
    exit(0);
  }
}

tbVer = get_kb_item("Thunderbird/Win/Ver");
if(tbVer)
{
  if(version_in_range(version:tbVer, test_version:"10.0", test_version2:"10.0.4"))
  {
    report = report_fixed_ver(installed_version:tbVer, vulnerable_range:"10.0 - 10.0.4");
    security_message(port:0, data:report);
    exit(0);
  }
}