Lucene search

K
openvasCopyright (C) 2008 Greenbone Networks GmbHOPENVAS:800311
HistoryDec 09, 2008 - 12:00 a.m.

W3C Amaya Multiple Buffer Overflow Vulnerabilities - Dec08 (Windows)

2008-12-0900:00:00
Copyright (C) 2008 Greenbone Networks GmbH
plugins.openvas.org
6

0.747 High

EPSS

Percentile

98.2%

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_win.nasl 5370 2017-02-20 15:24:26Z cfi $
#
# W3C Amaya Multiple Buffer Overflow Vulnerabilities - Dec08 (Windows)
#
# 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 Windows";
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(800311);
  script_version("$Revision: 5370 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-20 16:24:26 +0100 (Mon, 20 Feb 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 (Windows)");
  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_dependencies("secpod_reg_enum.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);
  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:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

if(!get_kb_item("SMB/WindowsVersion")){
  exit(0);
}

key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
if(!registry_key_exists(key:key)) {
    exit(0);
}

keys = registry_enum_keys(key:key);

foreach item (keys)
{
  if("Amaya" >< registry_get_sz(key:key + item, item:"DisplayName"))
  {
    w3cVer = registry_get_sz(key:key + item, item:"DisplayVersion");
    if(!w3cVer){
      exit(0);
    }

    if(version_is_less_equal(version:w3cVer, test_version:"10.0.1")){
      security_message(0);
      exit(0);
    }
  }
}

0.747 High

EPSS

Percentile

98.2%