HP Power Manager is prone to multiple remote code-execution vulnerabilities
because it fails to properly bounds-check user-supplied data.
An attacker can exploit this issue to execute arbitrary code with
SYSTEM privileges, resulting in a complete compromise of the affected
computer. Failed exploit attempts will result in a denial-of-service
condition.
Versions prior to Power Manager 4.2.10 are affected.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: hp_power_manager_mult_remote_code_execution.nasl 5388 2017-02-21 15:13:30Z teissa $
#
# HP Power Manager Multiple Remote Code Execution Vulnerabilities
#
# Authors:
# Michael Meyer
#
# 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 Power Manager is prone to multiple remote code-execution vulnerabilities
because it fails to properly bounds-check user-supplied data.
An attacker can exploit this issue to execute arbitrary code with
SYSTEM privileges, resulting in a complete compromise of the affected
computer. Failed exploit attempts will result in a denial-of-service
condition.
Versions prior to Power Manager 4.2.10 are affected.";
tag_solution = "The vendor has released updates and an advisory. Please see the
references for details.";
if (description)
{
script_id(100457);
script_version("$Revision: 5388 $");
script_tag(name:"last_modification", value:"$Date: 2017-02-21 16:13:30 +0100 (Tue, 21 Feb 2017) $");
script_tag(name:"creation_date", value:"2010-01-20 19:30:24 +0100 (Wed, 20 Jan 2010)");
script_bugtraq_id(37866,37867,37873);
script_cve_id("CVE-2009-3999","CVE-2009-4000");
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_name("HP Power Manager Multiple Remote Code Execution Vulnerabilities");
script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/37866");
script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/37867");
script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/37873");
script_xref(name : "URL" , value : "http://h18000.www1.hp.com/products/servers/proliantstorage/power-protection/software/power-manager/index.html");
script_xref(name : "URL" , value : "http://h18004.www1.hp.com/products/servers/proliantstorage/power-protection/software/power-manager/dl/HPPM_Windows_Readme4210_Eng.zip");
script_xref(name : "URL" , value : "http://www.securityfocus.com/archive/1/509042");
script_tag(name:"qod_type", value:"remote_banner");
script_category(ACT_GATHER_INFO);
script_family("Web application abuses");
script_copyright("This script is Copyright (C) 2010 Greenbone Networks GmbH");
script_dependencies("hp_power_manager_detect.nasl");
script_require_ports("Services/www", 80);
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("version_func.inc");
port = get_http_port(default:80);
if(!get_port_state(port))exit(0);
if(!vers = get_kb_item(string("www/", port, "/hp_power_manager")))exit(0);
if(!isnull(vers) && vers >!< "unknown") {
if(version_is_less(version: vers, test_version: "4.2.10")) {
security_message(port:port);
exit(0);
}
}
exit(0);
h18000.www1.hp.com/products/servers/proliantstorage/power-protection/software/power-manager/index.html
h18004.www1.hp.com/products/servers/proliantstorage/power-protection/software/power-manager/dl/HPPM_Windows_Readme4210_Eng.zip
www.securityfocus.com/archive/1/509042
www.securityfocus.com/bid/37866
www.securityfocus.com/bid/37867
www.securityfocus.com/bid/37873