Novell iPrint Client 'Plugin' Parameter Code Execution Vulnerability (Windows)

2017-03-14T00:00:00
ID OPENVAS:1361412562310810592
Type openvas
Reporter Copyright (C) 2017 Greenbone Networks GmbH
Modified 2018-10-19T00:00:00

Description

This host is running Novell iPrint Client and is prone to a remote code execution vulnerability.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_novell_iprint_client_plugin_parameter_rce_vuln_win.nasl 11982 2018-10-19 08:49:21Z mmartin $
#
# Novell iPrint Client 'Plugin' Parameter Code Execution Vulnerability (Windows)
#
# Authors:
# Rinu Kuriakose <krinu@secpod.com>
#
# Copyright:
# Copyright (C) 2017 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.
###############################################################################

CPE = "cpe:/a:novell:iprint";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.810592");
  script_version("$Revision: 11982 $");
  script_cve_id("CVE-2010-4314");
  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: 2018-10-19 10:49:21 +0200 (Fri, 19 Oct 2018) $");
  script_tag(name:"creation_date", value:"2017-03-14 13:19:08 +0530 (Tue, 14 Mar 2017)");
  script_name("Novell iPrint Client 'Plugin' Parameter Code Execution Vulnerability (Windows)");

  script_tag(name:"summary", value:"This host is running Novell iPrint Client
  and is prone to a remote code execution vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"The flaw is due to an error in handling
  plugin parameters. The application does not properly verify the name of
  parameters passed via <embed> tags.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to execute arbitrary code on vulnerable installations of the
  Novell iPrint Client browser plugin.");

  script_tag(name:"affected", value:"Novell iPrint Client versions before 5.42");

  script_tag(name:"solution", value:"Upgrade to Novell iPrint Client version
  5.42 or later.");

  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  script_xref(name:"URL", value:"https://www.novell.com/support/kb/doc.php?id=7006675");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("secpod_novell_prdts_detect_win.nasl");
  script_mandatory_keys("Novell/iPrint/Installed");
  script_xref(name:"URL", value:"https://www.novell.com/products/openenterpriseserver/iprint.html");
  exit(0);
}

include("host_details.inc");
include("secpod_reg.inc");
include("version_func.inc");

if(hotfix_check_sp(winVista:3, winVistax64:3, win7:2, win7x64:2) <= 0){
  exit(0);
}

if(!niVer = get_app_version(cpe:CPE)){
  exit(0);
}

if(version_is_less(version:niVer, test_version:"5.42"))
{
  report = report_fixed_ver(installed_version:niVer, fixed_version:"5.42");
  security_message(data:report);
  exit(0);
}