The host is installed with Mozilla firefox/thunderbird and is prone
to privilege escalation vulnerability.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_mozilla_prdts_priv_esc_vuln_macosx.nasl 7006 2017-08-25 11:51:20Z teissa $
#
# Mozilla Products Privilege Escalation Vulnerability (MAC OS X)
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2011 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 Mozilla Firefox version 3.6.24 or later,
For updates refer to http://www.mozilla.com/en-US/firefox/all.html
Upgrade to Thunderbird version to 3.1.16 or later
http://www.mozilla.org/en-US/thunderbird/";
tag_impact = "Successful exploitation will let attackers to gain privileges via a crafted
web site that leverages certain unwrapping behavior.
Impact Level: System/Application";
tag_affected = "Thunderbird version prior to 3.1.16
Mozilla Firefox version prior to 3.6.24";
tag_insight = "The flaws are due to
- Error in JSSubScriptLoader, which fails to handle XPCNativeWrappers during
calls to the loadSubScript method in an add-on.";
tag_summary = "The host is installed with Mozilla firefox/thunderbird and is prone
to privilege escalation vulnerability.";
if(description)
{
script_id(802512);
script_version("$Revision: 7006 $");
script_cve_id("CVE-2011-3647");
script_bugtraq_id(50589);
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:"$Date: 2017-08-25 13:51:20 +0200 (Fri, 25 Aug 2017) $");
script_tag(name:"creation_date", value:"2011-11-14 11:44:10 +0530 (Mon, 14 Nov 2011)");
script_name("Mozilla Products Privilege Escalation Vulnerabily (MAC OS X)");
script_xref(name : "URL" , value : "http://www.mozilla.org/security/announce/2011/mfsa2011-46.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
script_family("Privilege escalation");
script_dependencies("gb_mozilla_prdts_detect_macosx.nasl");
script_mandatory_keys("Mozilla/Firefox_or_Seamonkey_or_Thunderbird/Mac/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:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
# Firefox Check
ffVer = get_kb_item("Mozilla/Firefox/MacOSX/Version");
if(ffVer)
{
# Grep for Firefox version
if(version_is_less(version:ffVer, test_version:"3.6.24"))
{
security_message(0);
exit(0);
}
}
# Thunderbird Check
tbVer = get_kb_item("ThunderBird/MacOSX/Version");
if(tbVer != NULL)
{
# Grep for Thunderbird version
if(version_is_less(version:tbVer, test_version:"3.1.16")){
security_message(0);
}
}