Lucene search

K
openvasCopyright (c) 2012 Greenbone Networks GmbHOPENVAS:802852
HistoryMay 11, 2012 - 12:00 a.m.

Novell iManager jclient 'EnteredAttrName' Buffer Overflow Vulnerability

2012-05-1100:00:00
Copyright (c) 2012 Greenbone Networks GmbH
plugins.openvas.org
7

0.822 High

EPSS

Percentile

98.4%

The host is running Novell iManager and is prone to buffer overflow
vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_novell_imanager_jclient_bof_vuln.nasl 5940 2017-04-12 09:02:05Z teissa $
#
# Novell iManager jclient 'EnteredAttrName' Buffer Overflow Vulnerability
#
# Authors:
# Rachana Shetty <[email protected]>
#
# Copyright:
# Copyright (c) 2012 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_solution = "Apply the patch.
  For updates refer to http://www.novell.com/support/viewContent.do?externalId=7002971

  *****
  NOTE : Ignore this warning, if above patch has been applied.
  *****";

tag_impact = "Successful exploitation may allow remote attackers to execute arbitrary code
  within the context of the application or cause a denial of service condition.
  Impact Level: System/Application";
tag_affected = "Novell iManager version prior to 2.7.4 before patch 4";
tag_insight = "The flaw is due to an error in the Create Attribute function in
  jclient, when handling the 'EnteredAttrName' parameter and can be exploited
  to cause a buffer overflow.";
tag_summary = "The host is running Novell iManager and is prone to buffer overflow
  vulnerability.";

if (description)
{
  script_id(802852);
  script_version("$Revision: 5940 $");
  script_bugtraq_id(40485, 40480);
  script_cve_id("CVE-2011-4188");
  script_tag(name:"cvss_base", value:"4.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:N/A:P");
  script_tag(name:"last_modification", value:"$Date: 2017-04-12 11:02:05 +0200 (Wed, 12 Apr 2017) $");
  script_tag(name:"creation_date", value:"2012-05-11 18:09:51 +0530 (Fri, 11 May 2012)");
  script_name("Novell iManager jclient 'EnteredAttrName' Buffer Overflow Vulnerability");

  script_xref(name : "URL" , value : "http://secunia.com/advisories/48672/");
  script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/40485");
  script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/40480");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/74669");
  script_xref(name : "URL" , value : "http://www.novell.com/support/kb/doc.php?id=7002971");
  script_xref(name : "URL" , value : "http://www.coresecurity.com/content/novell-imanager-buffer-overflow-off-by-one-vulnerabilities");

  script_tag(name:"qod_type", value:"remote_banner");
  script_copyright("Copyright (c) 2012 Greenbone Networks GmbH");
  script_category(ACT_GATHER_INFO);
  script_family("Buffer overflow");
  script_dependencies("novell_imanager_detect.nasl");
  script_require_ports("Services/www", 8080, 8443);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "solution" , value : tag_solution);
  exit(0);
}

include("http_func.inc");
include("version_func.inc");

## Variable Initialization
imanVer = "";
port = 0;

## Get HTTP Port
port = get_http_port(default:8080);
if(!get_port_state(port)){
  exit(0);
}

imanVer = get_kb_item(string("www/", port, "/imanager"));
if(!imanVer){
  exit(0);
}

## Check for Novell iManager less than or equal to 2.7.4
if(version_is_less_equal(version: imanVer, test_version:"2.7.4")){
  security_message(port:port);
}

0.822 High

EPSS

Percentile

98.4%