This host is installed with W3C Amaya Web Browser and is prone to
multiple stack based Buffer Overflow vulnerabilities.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_w3c_amaya_mult_bof_vuln_dec08_lin.nasl 7623 2017-11-02 07:28:59Z cfischer $
#
# W3C Amaya Multiple Buffer Overflow Vulnerabilities - Dec08 (Linux)
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2008 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_impact = "Successful exploitation could allow execution of arbitrary code or
crash an affected browser.
Impact Level: Application";
tag_affected = "W3C Amaya Web Browser Version 10.0.1 and prior on Linux.";
tag_insight = "The flaws are due to boundary error when processing,
- HTML <div> tag with a long id field.
- link with a long HREF attribute.";
tag_solution = "Update to higher version.
http://www.w3.org/Amaya/User/BinDist.html";
tag_summary = "This host is installed with W3C Amaya Web Browser and is prone to
multiple stack based Buffer Overflow vulnerabilities.";
if(description)
{
script_id(800313);
script_version("$Revision: 7623 $");
script_tag(name:"last_modification", value:"$Date: 2017-11-02 08:28:59 +0100 (Thu, 02 Nov 2017) $");
script_tag(name:"creation_date", value:"2008-12-09 13:27:23 +0100 (Tue, 09 Dec 2008)");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2008-5282");
script_bugtraq_id(32442);
script_name("W3C Amaya Multiple Buffer Overflow Vulnerabilities - Dec08 (Linux)");
script_xref(name : "URL" , value : "http://secunia.com/advisories/32848");
script_xref(name : "URL" , value : "http://www.bmgsec.com.au/advisories/amaya-id.txt");
script_xref(name : "URL" , value : "http://www.bmgsec.com.au/advisories/amaya-url.txt");
script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2008/3255");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
script_family("Buffer overflow");
script_mandatory_keys("login/SSH/success");
script_dependencies("gather-package-list.nasl");
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
script_tag(name:"qod_type", value:"executable_version");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("ssh_func.inc");
include("version_func.inc");
sock = ssh_login_or_reuse_connection();
if(!sock){
exit(0);
}
amayaPath = find_file(file_name:"AmayaPage_WX.html", file_path:"/",
useregex:TRUE, regexpar:"$", sock:sock);
if(amayaPath == NULL){
exit(0);
}
foreach path (amayaPath){
arg = chomp(path) + " | grep -i amaya";
amayaVer = get_bin_version(full_prog_name:"cat", version_argv:arg,
ver_pattern:"Amaya ([.0-9]+)", sock:sock);
if(amayaVer[1])
{
if(version_is_less_equal(version:amayaVer[1], test_version:"10.0.1")){
security_message(0);
}
ssh_close_connection();
exit(0);
}
}
ssh_close_connection();