The host is installed with firefox browser and is prone to security
bypass vulnerability.
###############################################################################
# OpenVAS Vulnerability Test
#
# Mozilla Firefox 'JavaScript' Security Bypass Vulnerability
#
# Authors:
# Antu Sanadi <[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.
###############################################################################
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.902152");
script_version("2020-04-23T12:22:09+0000");
script_tag(name:"last_modification", value:"2020-04-23 12:22:09 +0000 (Thu, 23 Apr 2020)");
script_tag(name:"creation_date", value:"2010-03-30 16:15:33 +0200 (Tue, 30 Mar 2010)");
script_cve_id("CVE-2010-1125");
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 'JavaScript' Security Bypass Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2010 SecPod");
script_family("General");
script_dependencies("gb_firefox_detect_portable_win.nasl");
script_mandatory_keys("Firefox/Win/Ver");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to bypass certain security
restrictions or manipulate certain data.");
script_tag(name:"affected", value:"Mozilla Firefox version 3.x on Windows.");
script_tag(name:"insight", value:"The flaw is due to an error in 'JavaScript' implementation which allows to send
selected keystrokes to a form field in a hidden frame, instead of the intended
form field in a visible frame, via certain calls to the focus method.");
script_tag(name:"solution", value:"Upgrade to Mozilla Firefox version 3.6.3 or later");
script_tag(name:"summary", value:"The host is installed with firefox browser and is prone to security
bypass vulnerability.");
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/510070/100/0/threaded");
exit(0);
}
include("version_func.inc");
ffVer = get_kb_item("Firefox/Win/Ver");
if(isnull(ffVer)){
exit(0);
}
if(version_in_range(version:ffVer, test_version:"3.0", test_version2:"3.6.2")){
report = report_fixed_ver(installed_version:ffVer, vulnerable_range:"3.0 - 3.6.2");
security_message(port: 0, data: report);
}