Ecava IntegraXor Multiple Cross-Site Scripting Vulnerabilities (Windows)

2011-08-05T00:00:00
ID OPENVAS:802314
Type openvas
Reporter Copyright (C) 2011 Greenbone Networks GmbH
Modified 2017-08-29T00:00:00

Description

This host is installed with Ecava IntegraXor and is prone to cross site scripting vulnerabilities.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ecava_integraxor_mult_xss_vuln_win.nasl 7019 2017-08-29 11:51:27Z teissa $
#
# Ecava IntegraXor Multiple Cross-Site Scripting Vulnerabilities (Windows)
#
# Authors:
# Rachana Shetty <srachana@secpod.com>
#
# 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_impact = "Successful exploitation will allow attacker to execute arbitrary HTML and
  script code in a user's browser session in the context of a vulnerable site.
  This may allow an attacker to steal cookie-based authentications and launch
  further attacks.
  Impact Level: Application";
tag_affected = "Ecava IntegraXor versions prior to 3.60 (Build 4080).";
tag_insight = "The flaws are caused by improper validation of user-supplied input passed via
  unspecified vectors, which allows attackers to execute arbitrary HTML and
  script code on the web server.";
tag_solution = "Upgrade to the Ecava IntegraXor version 3.60 (Build 4080) or later,
  For updates refer to http://www.ecava.com/index.htm";
tag_summary = "This host is installed with Ecava IntegraXor and is prone to cross
  site scripting vulnerabilities.";

if(description)
{
  script_id(802314);
  script_version("$Revision: 7019 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-29 13:51:27 +0200 (Tue, 29 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-08-05 09:04:20 +0200 (Fri, 05 Aug 2011)");
  script_cve_id("CVE-2011-2958");
  script_bugtraq_id(48958);
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_name("Ecava IntegraXor Multiple Cross-Site Scripting Vulnerabilities (Windows)");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/68896");
  script_xref(name : "URL" , value : "http://www.us-cert.gov/control_systems/pdf/ICSA-11-147-02.pdf");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
  script_family("Web Servers");
  script_dependencies("secpod_reg_enum.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  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);
}

foreach item (registry_enum_keys(key:key))
{
  ecavaigName = registry_get_sz(key:key + item, item:"DisplayName");

  ## Check the name of the application
  if("IntegraXor" >< ecavaigName)
  {
    ## Check for the version
    ecavaigVer = registry_get_sz(key:key + item, item:"DisplayVersion");
    if(ecavaigVer != NULL)
    {
      ## Check for Ecava IntegraXor Version less than 3.60 (Build 4080)
      if(version_is_less(version:ecavaigVer, test_version:"3.60.4080"))
      {
        security_message(0);
        exit(0);
      }
    }
  }
}