The host is installed with Thundebird/Seamonkey and is prone to
Information Disclosure vulnerability.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_mozilla_prdts_necko_dns_info_disc_vuln_win.nasl 6444 2017-06-27 11:24:02Z santu $
#
# Mozilla Products Necko DNS Information Disclosure Vulnerability (Windows)
#
# Authors:
# Antu Sanadi <[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 = "Apply the patch or Upgrade to Mozilla Necko version 1.9.1
http://www.mozilla.com/en-US/products/
https://bug492196.bugzilla.mozilla.org/attachment.cgi?id=377824
*****
NOTE: Ignore this warning, if above mentioned patch is already applied.
*****";
tag_impact = "Successful exploitation will let the attackers obtain the network location of
the applications user by logging DNS requests.
Impact Level: Application";
tag_affected = "Mozilla Thunderbird version 3.0.1 and
Seamonkey with Mozilla Necko version 1.9.0 and prior on Windows.";
tag_insight = "The flaw exists while DNS prefetching, when the app type is 'APP_TYPE_MAIL'
or 'APP_TYPE_EDITOR'";
tag_summary = "The host is installed with Thundebird/Seamonkey and is prone to
Information Disclosure vulnerability.";
if(description)
{
script_id(800455);
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-02-04 12:53:38 +0100 (Thu, 04 Feb 2010)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_cve_id("CVE-2009-4629");
script_name("Mozilla Products Necko DNS Information Disclosure Vulnerability (Windows)");
script_xref(name : "URL" , value : "https://bugzilla.mozilla.org/show_bug.cgi?id=492196");
script_xref(name : "URL" , value : "https://secure.grepular.com/DNS_Prefetch_Exposure_on_Thunderbird_and_Webmail");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (c) 2010 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gb_seamonkey_detect_win.nasl", "gb_thunderbird_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("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
# Seamonkey Check
smVer = get_kb_item("Seamonkey/Win/Ver");
if(!isnullsmVer)
{
path = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion" +
"\App Paths\seamonkey.exe", item:"path");
path = path + "\seamonkey.exe";
share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:path);
file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:path);
seaVer = GetVer(file:file, share:share);
if(!isnull(seaVer))
{
if(version_is_less(version:seaVer, test_version:"1.9.1"))
{
security_message(0);
exit(0);
}
}
}
# Thunderbird Check
fpVer = get_kb_item("Thunderbird/Win/Ver");
if(!isnull(fpVer))
{
if(version_is_less_equal(version:fpVer, test_version:"3.0.1")){
security_message(0);
}
}