The host is installed with Mozilla Firefox/Seamonkey and is prone to code
execution vulnerability
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_mozilla_prdts_firebug_code_exec_vuln_win.nasl 6444 2017-06-27 11:24:02Z santu $
#
# Mozilla Products Firebug Code Execution Vulnerability (Windows)
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2010 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.
###############################################################################
tag_solution = "Upgrade to Firefox version 3.0.19 or 3.5.8,
http://www.mozilla.com/en-US/firefox/all.html
Upgrade to Seamonkey version 2.0.3 or later,
http://www.seamonkey-project.org/releases/";
tag_impact = "Successful exploitation will let attackers to potentially execute arbitrary
code on the system.
Impact Level: Application";
tag_affected = "Seamonkey version prior to 2.0.3 and
Firefox version 3.0.x before 3.0.19 and 3.5.x before 3.5.8 on Windows.";
tag_insight = "The flaw is due to an error in the 'XMLHttpRequestSpy' module in the 'Firebug'
add-on which does not properly handle interaction between the XMLHttpRequestSpy
object and chrome privileged objects.";
tag_summary = "The host is installed with Mozilla Firefox/Seamonkey and is prone to code
execution vulnerability";
if(description)
{
script_id(800755);
script_version("$Revision: 6444 $");
script_tag(name:"last_modification", value:"$Date: 2017-06-27 13:24:02 +0200 (Tue, 27 Jun 2017) $");
script_tag(name:"creation_date", value:"2010-04-13 16:55:19 +0200 (Tue, 13 Apr 2010)");
script_cve_id("CVE-2010-0179");
script_tag(name:"cvss_base", value:"5.1");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:P/I:P/A:P");
script_name("Mozilla Products Firebug Code Execution Vulnerability (Windows)");
script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/57394");
script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2010/0764");
script_xref(name : "URL" , value : "http://securitytracker.com/alerts/2010/Mar/1023783.html");
script_xref(name : "URL" , value : "http://www.mozilla.org/security/announce/2010/mfsa2010-21.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (c) 2010 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gb_firefox_detect_win.nasl", "gb_seamonkey_detect_win.nasl");
script_mandatory_keys("Mozilla/Firefox_or_Seamonkey_or_Thunderbird/Installed");
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "summary" , value : tag_summary);
script_tag(name : "solution" , value : tag_solution);
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.0 < 3.0.19 and 3.5 < 3.5.8
if(version_in_range(version:ffVer, test_version:"3.5", test_version2:"3.5.7") ||
version_in_range(version:ffVer, test_version:"3.0", test_version2:"3.0.18"))
{
security_message(0);
exit(0);
}
}
# Seamonkey Check
smVer = get_kb_item("Seamonkey/Win/Ver");
if(smVer != NULL)
{
# Grep for Seamonkey version < 2.0.3
if(version_is_less(version:smVer, test_version:"2.0.3")){
security_message(0);
}
}